Merge pull request #58 from differentreality/schedule_public

show schedule in home page only if it is set as public
This commit is contained in:
Henne Vogelsang 2014-04-09 12:09:11 +02:00
commit ec2323e957
4 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class CallForPapers < ActiveRecord::Base
attr_accessible :start_date, :end_date, :hard_deadline, :description, :schedule_changes, :rating, :rating_desc
attr_accessible :start_date, :end_date, :hard_deadline, :description, :schedule_changes, :rating, :rating_desc, :schedule_public
belongs_to :conference
validates_presence_of :start_date, :end_date, :hard_deadline