diff options
Diffstat (limited to 'app/models/stop_area_referential.rb')
| -rw-r--r-- | app/models/stop_area_referential.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/stop_area_referential.rb b/app/models/stop_area_referential.rb index 325385011..58e0c559c 100644 --- a/app/models/stop_area_referential.rb +++ b/app/models/stop_area_referential.rb @@ -3,6 +3,7 @@ class StopAreaReferential < ActiveRecord::Base has_many :organisations, through: :stop_area_referential_memberships has_many :stop_areas, class_name: 'Chouette::StopArea' + has_one :stop_area_referential_sync def add_member(organisation, options = {}) attributes = options.merge organisation: organisation |
