Added lodging to splash view
This commit is contained in:
parent
4cc039b358
commit
c1063645da
13 changed files with 53 additions and 5 deletions
|
|
@ -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>' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue