aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
authorMichel Etienne2012-10-09 16:03:11 +0200
committerMichel Etienne2012-10-09 16:03:11 +0200
commit72de1c47254ca70d7be04a96b5b11dfed8f79df6 (patch)
treec4ccd9fb97779edd589071570596779f266b990d /app/models/referential.rb
parent04835501dbf267b2046d24e65400e23c927d4ab3 (diff)
downloadchouette-core-72de1c47254ca70d7be04a96b5b11dfed8f79df6.tar.bz2
add group_of_line managment
Diffstat (limited to 'app/models/referential.rb')
-rw-r--r--app/models/referential.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/referential.rb b/app/models/referential.rb
index ab4290cdd..b4601caee 100644
--- a/app/models/referential.rb
+++ b/app/models/referential.rb
@@ -47,6 +47,10 @@ class Referential < ActiveRecord::Base
Chouette::Network.scoped
end
+ def group_of_lines
+ Chouette::GroupOfLine.scoped
+ end
+
def companies
Chouette::Company.scoped
end