Sponsors dashboard

Removed explicit rendering of sponsors
This commit is contained in:
Gopesh Tulsyan 2014-06-05 20:05:20 +05:30
parent e38a654af1
commit 67dab025a9
9 changed files with 139 additions and 4 deletions

View file

@ -11,7 +11,8 @@ class Conference < ActiveRecord::Base
:use_vpositions, :use_vdays, :vdays_attributes, :vpositions_attributes, :use_volunteers,
:media_id, :media_type, :color, :description,
:registration_description, :ticket_description,
:sponsorship_levels_attributes
:sponsorship_levels_attributes,
:sponsors_attributes
has_paper_trail
@ -45,6 +46,7 @@ class Conference < ActiveRecord::Base
accepts_nested_attributes_for :dietary_choices, :allow_destroy => true
accepts_nested_attributes_for :supporter_levels, :allow_destroy => true
accepts_nested_attributes_for :sponsorship_levels, allow_destroy: true
accepts_nested_attributes_for :sponsors, allow_destroy: true
accepts_nested_attributes_for :event_types, :allow_destroy => true
accepts_nested_attributes_for :email_settings
accepts_nested_attributes_for :questions, :allow_destroy => true