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

@ -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>' }