Skip to content

Commit

Permalink
fix(ContactMessages): Use alchemy route proxy
Browse files Browse the repository at this point in the history
Without that it happens that a controller inheriting from
MessagesController cannot resolve that route correctly.

(cherry picked from commit d845636)
  • Loading branch information
tvdeyen committed Jun 10, 2024
1 parent dd73fc7 commit 5740d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/alchemy/messages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 5740d34

Please sign in to comment.