aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/line_referential.rb
diff options
context:
space:
mode:
authorRobert2017-11-09 18:16:41 +0100
committerRobert2017-11-17 14:56:29 +0100
commit3fba11d14fb032802ea70240e4b204e93fe5a277 (patch)
tree49e1dfe5993a7bf9c8c863b79399e4e887eab753 /app/models/line_referential.rb
parent76d11c7f973867e305d6841f69c62c5fd37d65a7 (diff)
downloadchouette-core-3fba11d14fb032802ea70240e4b204e93fe5a277.tar.bz2
Refs: #4823@4h; Fixed Transport(Sub)mode validation bug
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 8bc6adec3..7ab892b53 100644
--- a/app/models/line_referential.rb
+++ b/app/models/line_referential.rb
@@ -1,5 +1,5 @@
class LineReferential < ActiveRecord::Base
- extend StifTransportModeEnumerations
+ include StifTransportModeEnumerations
has_many :line_referential_memberships
has_many :organisations, through: :line_referential_memberships