diff options
Diffstat (limited to 'app/models/stop_area_referential.rb')
| -rw-r--r-- | app/models/stop_area_referential.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/stop_area_referential.rb b/app/models/stop_area_referential.rb index 58e0c559c..1de218793 100644 --- a/app/models/stop_area_referential.rb +++ b/app/models/stop_area_referential.rb @@ -3,7 +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 + has_many :stop_area_referential_syncs def add_member(organisation, options = {}) attributes = options.merge organisation: organisation |
