diff --git a/app/controllers/admin/legislation/processes_controller.rb b/app/controllers/admin/legislation/processes_controller.rb index bf02dc7b67e..b470d8c5d37 100644 --- a/app/controllers/admin/legislation/processes_controller.rb +++ b/app/controllers/admin/legislation/processes_controller.rb @@ -1,5 +1,6 @@ class Admin::Legislation::ProcessesController < Admin::Legislation::BaseController include Translatable + include ImageAttributes has_filters %w[open all], only: :index @@ -71,7 +72,7 @@ def allowed_params :font_color, translation_params(::Legislation::Process), documents_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy], - image_attributes: [:id, :title, :attachment, :cached_attachment, :user_id, :_destroy] + image_attributes: image_attributes ] end