Skip to content

Commit

Permalink
Fix ActionNotFound in PictureController
Browse files Browse the repository at this point in the history
The default setting of Rails 7.1 will raise an exception if a callback action was not found. The info - method is not available in picture controller and will lead to an exception if the option is turned on in Rails 7.1.

(cherry picked from commit aa46752)
  • Loading branch information
kulturbande committed Feb 5, 2024
1 parent 4e91b67 commit a36ea33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/alchemy/admin/pictures_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PicturesController < Alchemy::Admin::ResourcesController
helper "alchemy/admin/tags"

before_action :load_resource,
only: [:show, :edit, :update, :url, :destroy, :info]
only: [:show, :edit, :update, :url, :destroy]

before_action :set_size, only: [:index, :show, :edit_multiple]

Expand Down

0 comments on commit a36ea33

Please sign in to comment.