Rooms belong to venue
This commit is contained in:
parent
feabbfbc99
commit
f840f2b3f0
31 changed files with 221 additions and 166 deletions
|
|
@ -11,7 +11,7 @@ class ConferenceController < ApplicationController
|
|||
def show; end
|
||||
|
||||
def schedule
|
||||
@rooms = @conference.program.rooms
|
||||
@rooms = @conference.venue.rooms if @conference.venue
|
||||
@events = @conference.program.events
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue