Merge f4fdccd590 into 08e5f10559
This commit is contained in:
commit
a892d3327f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
class SchedulesController < ApplicationController
|
class SchedulesController < ApplicationController
|
||||||
load_and_authorize_resource
|
|
||||||
protect_from_forgery with: :null_session
|
protect_from_forgery with: :null_session
|
||||||
before_action :respond_to_options
|
before_action :respond_to_options
|
||||||
load_resource :conference, find_by: :short_title
|
load_resource :conference, find_by: :short_title
|
||||||
load_resource :program, through: :conference, singleton: true, except: :index
|
load_resource :program, through: :conference, singleton: true, except: :index
|
||||||
|
load_and_authorize_resource :selected_schedule, through: :program, singleton: true
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@rooms = @conference.venue.rooms if @conference.venue
|
@rooms = @conference.venue.rooms if @conference.venue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue