Adds lodgings controller and view
This commit is contained in:
parent
029281a9ae
commit
e494192ad2
8 changed files with 111 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
class Venue < ActiveRecord::Base
|
||||
attr_accessible :name, :description, :website, :address,:photo, :lodgings_attributes
|
||||
attr_accessible :name, :description, :website, :address, :photo, :lodgings_attributes
|
||||
has_many :conferences
|
||||
has_many :lodgings
|
||||
before_create :generate_guid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue