aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette/company.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/chouette/company.rb')
-rw-r--r--app/models/chouette/company.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/chouette/company.rb b/app/models/chouette/company.rb
index 8d6dbee92..cb2266a3d 100644
--- a/app/models/chouette/company.rb
+++ b/app/models/chouette/company.rb
@@ -1,12 +1,12 @@
module Chouette
class Company < Chouette::ActiveRecord
+ has_metadata
+
include CompanyRestrictions
include LineReferentialSupport
include ObjectidSupport
include CustomFieldsSupport
- has_paper_trail class_name: 'PublicVersion'
-
has_many :lines
validates_format_of :registration_number, :with => %r{\A[0-9A-Za-z_-]+\Z}, :allow_nil => true, :allow_blank => true