uses correct order for permitted params

This commit is contained in:
rgarcia
2017-11-08 12:05:02 +01:00
parent f3831de31c
commit 644ea9629f

View File

@@ -58,9 +58,9 @@ class Admin::Legislation::ProcessesController < Admin::Legislation::BaseControll
:draft_publication_enabled,
:result_publication_enabled,
:published,
documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy],
:proposals_description,
:custom_list
:custom_list,
documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy]
)
end