Fix features/ability test
This commit is contained in:
parent
7ea91d7d61
commit
6de3fdc249
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module Admin
|
||||||
# By authorizing 'conference' resource, we can ensure there will be no unauthorized access to
|
# By authorizing 'conference' resource, we can ensure there will be no unauthorized access to
|
||||||
# the schedule of a conference, which should not be accessed in the first place
|
# the schedule of a conference, which should not be accessed in the first place
|
||||||
load_and_authorize_resource :conference, find_by: :short_title
|
load_and_authorize_resource :conference, find_by: :short_title
|
||||||
load_resource :program, through: :conference, singleton: true
|
load_and_authorize_resource :program, through: :conference, singleton: true
|
||||||
load_and_authorize_resource :schedule, through: :program
|
load_and_authorize_resource :schedule, through: :program
|
||||||
load_resource :event_schedules, through: :schedule
|
load_resource :event_schedules, through: :schedule
|
||||||
load_resource :selected_schedule, through: :program, singleton: true
|
load_resource :selected_schedule, through: :program, singleton: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue