Skip to content

Commit

Permalink
Properly specify image for strong parameters.
Browse files Browse the repository at this point in the history
Fixes #3109
  • Loading branch information
parndt committed Mar 7, 2016
1 parent b37cf42 commit b25fff2
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 @@ -148,7 +148,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 b25fff2

Please sign in to comment.