aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/line_referential.rb
diff options
context:
space:
mode:
authorXinhui2016-09-30 11:33:54 +0200
committerXinhui2016-09-30 11:33:54 +0200
commitdca3de5b0162c374622b17e0893c4360a025c55a (patch)
tree3386afb3938b1ec512a570d04adc239bd6148cae /app/models/line_referential.rb
parent5a6efc44dd862384b80f6ff48583e9f9229dbaf4 (diff)
downloadchouette-core-dca3de5b0162c374622b17e0893c4360a025c55a.tar.bz2
Refactoring i18n & templating
Refs #1712
Diffstat (limited to 'app/models/line_referential.rb')
-rw-r--r--app/models/line_referential.rb2
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