diff options
| author | Xinhui | 2016-09-30 11:33:54 +0200 | 
|---|---|---|
| committer | Xinhui | 2016-09-30 11:33:54 +0200 | 
| commit | dca3de5b0162c374622b17e0893c4360a025c55a (patch) | |
| tree | 3386afb3938b1ec512a570d04adc239bd6148cae /app/models/line_referential.rb | |
| parent | 5a6efc44dd862384b80f6ff48583e9f9229dbaf4 (diff) | |
| download | chouette-core-dca3de5b0162c374622b17e0893c4360a025c55a.tar.bz2 | |
Refactoring i18n & templating
Refs #1712
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 eb519a727..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_many :line_referential_syncs, -> { order(created_at: :desc) } +  has_many :line_referential_syncs    def add_member(organisation, options = {})      attributes = options.merge organisation: organisation | 
