aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette/line.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/chouette/line.rb')
-rw-r--r--app/models/chouette/line.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/line.rb b/app/models/chouette/line.rb
index 9f5d4ea85..c3a867caa 100644
--- a/app/models/chouette/line.rb
+++ b/app/models/chouette/line.rb
@@ -22,7 +22,7 @@ class Chouette::Line < Chouette::ActiveRecord
attr_accessor :transport_mode
# validates_presence_of :network
- validates_presence_of :company
+ # validates_presence_of :company
validates_format_of :registration_number, :with => %r{\A[\d\w_\-]+\Z}, :allow_nil => true, :allow_blank => true
validates_format_of :stable_id, :with => %r{\A[\d\w_\-]+\Z}, :allow_nil => true, :allow_blank => true