aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/offer_workbench.rb
diff options
context:
space:
mode:
authorAlban Peignier2016-05-25 15:53:52 +0200
committerAlban Peignier2016-05-25 15:55:11 +0200
commite30ce627fcd524eb616000d73f6a8450c08e1cba (patch)
tree647f8cc8abdaef19018d3772ef41cc128b5ea136 /app/models/offer_workbench.rb
parent444494b031045892269558b3bd39d25d40ea41d4 (diff)
downloadchouette-core-e30ce627fcd524eb616000d73f6a8450c08e1cba.tar.bz2
Fixes header and footer to remove Chouette specific stuff. Refs #912
Diffstat (limited to 'app/models/offer_workbench.rb')
-rw-r--r--app/models/offer_workbench.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/offer_workbench.rb b/app/models/offer_workbench.rb
index a1c8f3b9c..65feafdd5 100644
--- a/app/models/offer_workbench.rb
+++ b/app/models/offer_workbench.rb
@@ -1,7 +1,7 @@
class OfferWorkbench < ActiveRecord::Base
belongs_to :organisation
- validates :name, presence: true, uniqueness: true
+ validates :name, presence: true
validates :organisation, presence: true
has_many :referentials