Skip to content

Commit

Permalink
Merge branch 'master' into interference_marketable_pages_active_record
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Aug 8, 2018
2 parents bcd259b + 20f64eb commit 52391e7
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 @@ -125,7 +125,7 @@ def crop
crop: render_to_string('/refinery/admin/images/_crop', layout: false, locals: { crop: cropped_image})
}
else
flash.error = ::I18n.t('refinery.admin.images.form.crop_error')
flash.now[:error] = ::I18n.t('refinery.admin.images.form.crop_error')
render json: { message: ::I18n.t('refinery.admin.images.form.crop_error') }
end
end
Expand Down

0 comments on commit 52391e7

Please sign in to comment.