Another round of splash design
* Add map to splash * Reverse venue<->conference relation * Split venue address into fields * Don't go through venue for lodgings anymore
This commit is contained in:
parent
30e8ab856c
commit
cb227a0afc
55 changed files with 717 additions and 548 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class Lodging < ActiveRecord::Base
|
||||
attr_accessible :name, :description, :photo, :website_link, :venue_id
|
||||
belongs_to :venue
|
||||
attr_accessible :name, :description, :photo, :website_link, :conference_id
|
||||
belongs_to :conference
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue