From a36ea330a7eb595b0447e3320a29f567f868a264 Mon Sep 17 00:00:00 2001 From: Sascha Karnatz <68833+kulturbande@users.noreply.github.com> Date: Sat, 3 Feb 2024 15:38:43 +0100 Subject: [PATCH] Fix ActionNotFound in PictureController 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 aa467525da1df94ea1ecd00706e84119459936b5) --- app/controllers/alchemy/admin/pictures_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/alchemy/admin/pictures_controller.rb b/app/controllers/alchemy/admin/pictures_controller.rb index 7c75c69071..f341635bef 100644 --- a/app/controllers/alchemy/admin/pictures_controller.rb +++ b/app/controllers/alchemy/admin/pictures_controller.rb @@ -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]