parameter passing in schedule
This commit is contained in:
parent
62691f0ab9
commit
89e536f246
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ module Admin
|
||||||
private
|
private
|
||||||
|
|
||||||
def program_params
|
def program_params
|
||||||
params.require(:program).permit(:rating, :schedule_public, :schedule_interval, :schedule_fluid, :blind_voting, :voting_start_date, :voting_end_date, :selected_schedule_id, :languages)
|
params.require('[program]').permit(:rating, :schedule_public, :schedule_interval, :schedule_fluid, :blind_voting, :voting_start_date, :voting_end_date, :selected_schedule_id, :languages)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue