diff options
| author | Xinhui | 2017-11-21 16:34:16 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-11-28 12:18:26 +0100 | 
| commit | 3a9cc46e7cf705df7cdb8fb7c19daa8165ead33d (patch) | |
| tree | f654b07785e6da230719b1de65d001bc35e79b25 /app/models/chouette/network.rb | |
| parent | 8aa230271ec6f0cd578e479c42d95418cb9408c3 (diff) | |
| download | chouette-core-3a9cc46e7cf705df7cdb8fb7c19daa8165ead33d.tar.bz2 | |
Add paper_trail to models
Diffstat (limited to 'app/models/chouette/network.rb')
| -rw-r--r-- | app/models/chouette/network.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/models/chouette/network.rb b/app/models/chouette/network.rb index 3f07ebe0c..d64ef038a 100644 --- a/app/models/chouette/network.rb +++ b/app/models/chouette/network.rb @@ -1,11 +1,11 @@  module Chouette    class Network < Chouette::ActiveRecord +    has_paper_trail      include NetworkRestrictions      include LineReferentialSupport      include ObjectidSupport      # FIXME http://jira.codehaus.org/browse/JRUBY-6358      self.primary_key = "id" -      has_many :lines      attr_accessor :source_type_name @@ -47,4 +47,4 @@ module Chouette    end -end
\ No newline at end of file +end | 
