diff options
| author | Xinhui | 2016-09-29 17:58:03 +0200 |
|---|---|---|
| committer | Xinhui | 2016-09-29 17:58:03 +0200 |
| commit | 5a6efc44dd862384b80f6ff48583e9f9229dbaf4 (patch) | |
| tree | 2375722be0855f5e43e1d09481ef68fea21d0cb4 /app/models | |
| parent | a1fffa57564825303671c20e596f4fc944fbdd12 (diff) | |
| download | chouette-core-5a6efc44dd862384b80f6ff48583e9f9229dbaf4.tar.bz2 | |
Launch reflex:sync from interface
Refs #1712
Diffstat (limited to 'app/models')
| -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 |
