diff options
| author | Xinhui | 2016-09-27 11:34:35 +0200 |
|---|---|---|
| committer | Xinhui | 2016-09-27 15:18:06 +0200 |
| commit | 12f506a82ae9099cface5b9507dd8a36bf923508 (patch) | |
| tree | 405cbcea60766fb88f3d324805ce46efff84919c /app/models/line_referential.rb | |
| parent | 811d6208f4a126b08fc7ae8c4233ce8fca1eb198 (diff) | |
| download | chouette-core-12f506a82ae9099cface5b9507dd8a36bf923508.tar.bz2 | |
Rspec model LineReferentialSync
Diffstat (limited to 'app/models/line_referential.rb')
| -rw-r--r-- | app/models/line_referential.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/line_referential.rb b/app/models/line_referential.rb index ccab5bf8a..f33934dfc 100644 --- a/app/models/line_referential.rb +++ b/app/models/line_referential.rb @@ -7,7 +7,7 @@ class LineReferential < ActiveRecord::Base has_many :companies, class_name: 'Chouette::Company' has_many :networks, class_name: 'Chouette::Network' - has_one :line_referential_sync + has_many :line_referential_syncs def add_member(organisation, options = {}) attributes = options.merge organisation: organisation |
