Skip to content

Commit

Permalink
Fix permitted params allowing new images to be uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
veger authored and bricesanchez committed Mar 4, 2018
1 parent 10e6378 commit fd5bec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/app/controllers/refinery/admin/images_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def image_params

def permitted_image_params
[
{ image: [] }, :image_size, :image_title, :image_alt
:image, :image_size, :image_title, :image_alt
]
end

Expand Down

0 comments on commit fd5bec4

Please sign in to comment.