From 5740d3499867687afee9537b41273b0dd1970cda Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Mon, 10 Jun 2024 11:44:30 +0200 Subject: [PATCH] fix(ContactMessages): Use alchemy route proxy Without that it happens that a controller inheriting from MessagesController cannot resolve that route correctly. (cherry picked from commit d84563636a164215fc81cac3ab73db3deedb44f5) --- app/controllers/alchemy/messages_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/alchemy/messages_controller.rb b/app/controllers/alchemy/messages_controller.rb index df0ddfe9e0..3dcaff2172 100644 --- a/app/controllers/alchemy/messages_controller.rb +++ b/app/controllers/alchemy/messages_controller.rb @@ -97,7 +97,7 @@ def redirect_to_success_page else Language.current_root_page.urlname end - redirect_to show_page_path( + redirect_to alchemy.show_page_path( urlname: urlname, locale: prefix_locale? ? Language.current.code : nil )