diff options
| author | Zog | 2018-03-30 14:46:37 +0200 | 
|---|---|---|
| committer | Zog | 2018-04-09 16:57:59 +0200 | 
| commit | 745428deb8e0df2c7c8a991ab8a5f5231e6d6c7f (patch) | |
| tree | 40da9487591cef17947da0c2a23d05b5e06bd1bb /app/models/chouette/route.rb | |
| parent | 98c723ee956b478e8ffb466e461c9889a272efdf (diff) | |
| download | chouette-core-745428deb8e0df2c7c8a991ab8a5f5231e6d6c7f.tar.bz2 | |
Refs #6367; Add metadata to routes
Diffstat (limited to 'app/models/chouette/route.rb')
| -rw-r--r-- | app/models/chouette/route.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/models/chouette/route.rb b/app/models/chouette/route.rb index 65947c392..9c7a3e6d9 100644 --- a/app/models/chouette/route.rb +++ b/app/models/chouette/route.rb @@ -1,6 +1,7 @@  module Chouette    class Route < Chouette::TridentActiveRecord -    has_paper_trail +    has_metadata +      include RouteRestrictions      include ChecksumSupport      include ObjectidSupport @@ -9,7 +10,6 @@ module Chouette      enumerize :direction, in: %i(straight_forward backward clockwise counter_clockwise north north_west west south_west south south_east east north_east)      enumerize :wayback, in: %i(outbound inbound), default: :outbound -      def self.nullable_attributes        [:published_name, :comment, :number, :name, :direction, :wayback]      end | 
