diff options
| author | Zog | 2018-03-15 16:38:20 +0100 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-03-27 09:35:09 +0200 | 
| commit | 1386e3c2d525b61bf0e6a7ace9ed755bff9eb998 (patch) | |
| tree | eaf06fcc8dcdaa308a6bb316b380f62b4887a34f /app/models/calendar.rb | |
| parent | 7e56064ec6dbb60d00453d39680c2fdd9a462011 (diff) | |
| download | chouette-core-1386e3c2d525b61bf0e6a7ace9ed755bff9eb998.tar.bz2 | |
Refs #6201; Remove short_name from calendars
Diffstat (limited to 'app/models/calendar.rb')
| -rw-r--r-- | app/models/calendar.rb | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/calendar.rb b/app/models/calendar.rb index 84b569ab4..32eedf9ea 100644 --- a/app/models/calendar.rb +++ b/app/models/calendar.rb @@ -12,8 +12,7 @@ class Calendar < ActiveRecord::Base    belongs_to :organisation    belongs_to :workgroup -  validates_presence_of :name, :short_name, :organisation, :workgroup -  validates_uniqueness_of :short_name +  validates_presence_of :name, :organisation, :workgroup    has_many :time_tables  | 
