Fix parameter generation for activating a schedule
Also: `@program` is instantiated via `load_and_authorize_resource` already...
This commit is contained in:
parent
7e5c874d5e
commit
3494b91f4d
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
url = update_selected_schedule_admin_conference_program_track_path(@conference.short_title, @schedule.track) + '?[track][selected_schedule_id]='
|
||||
else
|
||||
value = @schedule.id == @selected_schedule.try(:id)
|
||||
url = admin_conference_program_path(@conference.short_title) + '?[program][selected_schedule_id]='
|
||||
url = admin_conference_program_path(@conference.short_title) + '?program[selected_schedule_id]='
|
||||
end
|
||||
= check_box_tag @conference.short_title, @schedule.id, value, url: url,
|
||||
class: 'switch-checkbox-schedule'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue