Added lodging to splash view

This commit is contained in:
Gopesh Tulsyan 2014-06-07 00:30:19 +05:30
parent 4cc039b358
commit c1063645da
13 changed files with 53 additions and 5 deletions

View file

@ -10,7 +10,8 @@ class Conference < ActiveRecord::Base
:difficulty_levels_attributes, :use_difficulty_levels,
:use_vpositions, :use_vdays, :vdays_attributes, :vpositions_attributes, :use_volunteers,
:media_id, :media_type, :color, :description,
:registration_description, :ticket_description
:registration_description, :ticket_description,
:lodging_description
has_paper_trail

View file

@ -1,5 +1,5 @@
class Lodging < ActiveRecord::Base
attr_accessible :name, :description, :photo
attr_accessible :name, :description, :photo, :website_link
belongs_to :venue
has_attached_file :photo,
styles: { thumb: '100x100>', large: '300x300>' }