Adds migrations for checkboxes of splash components
This commit is contained in:
parent
3cf41b51c2
commit
6c5e04f513
7 changed files with 57 additions and 23 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class CallForPapers < ActiveRecord::Base
|
||||
attr_accessible :start_date, :end_date,
|
||||
:description, :schedule_changes, :rating,
|
||||
:schedule_public
|
||||
:schedule_public, :include_cfp_in_splash
|
||||
belongs_to :conference
|
||||
|
||||
validates_presence_of :start_date, :end_date
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ class Conference < ActiveRecord::Base
|
|||
:sponsorship_levels_attributes,
|
||||
:sponsors_attributes, :facebook_url,
|
||||
:google_url, :twitter_url, :sponsor_description, :sponsor_email,
|
||||
:lodging_description
|
||||
:lodging_description, :include_registrations_in_splash,
|
||||
:include_sponsors_in_splash, :include_tracks_in_splash,
|
||||
:include_tickets_in_splash, :include_social_media_in_splash,
|
||||
:include_program_in_splash
|
||||
|
||||
has_paper_trail
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
class Venue < ActiveRecord::Base
|
||||
attr_accessible :name, :description, :website, :address, :photo, :lodgings_attributes
|
||||
attr_accessible :name, :description, :website, :address, :photo, :lodgings_attributes,
|
||||
:include_venue_in_splash, :include_lodgings_in_splash
|
||||
has_many :conferences
|
||||
has_many :lodgings
|
||||
before_create :generate_guid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue