Rooms belong to venue
This commit is contained in:
parent
1fcefafe64
commit
3c6ddb2f52
31 changed files with 213 additions and 165 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