mirror of
https://github.com/openSUSE/osem.git
synced 2026-04-28 10:51:17 -04:00
13 lines
381 B
Ruby
13 lines
381 B
Ruby
class ScheduleController < ApplicationController
|
|
|
|
layout "application"
|
|
|
|
def index
|
|
@conference = Conference.includes(:rooms, {:events => [:speakers, :track, :event_type]}).where("conferences.short_title" => params[:conference_id]).first
|
|
@rooms = @conference.rooms
|
|
@events = @conference.events
|
|
@dates = @conference.start_date..@conference.end_date
|
|
end
|
|
|
|
end
|