Cosmetics
This commit is contained in:
parent
729ed13521
commit
6db0b64f4c
7 changed files with 27 additions and 13 deletions
|
|
@ -57,6 +57,7 @@ class ChecklistsController < ApplicationController
|
|||
# Only allow a list of trusted parameters through.
|
||||
def checklist_params
|
||||
params.require(:checklist).permit(:code, :name, :description, :description_html,
|
||||
check_ids: [],
|
||||
checklist_entries_attributes: %i[id check_id position _destroy])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue