From 5eabcfe54410344ce189bfa3839cbd57ee3b2e7f Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Mon, 22 Jan 2024 17:50:01 +0100 Subject: [PATCH 01/19] Use routing proxy in locale selection Without this, engines that want to display the Solidus menu bar will get an error. --- backend/app/views/spree/admin/shared/_locale_selection.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/shared/_locale_selection.html.erb b/backend/app/views/spree/admin/shared/_locale_selection.html.erb index e9dc4bbcfab..5f3515801ea 100644 --- a/backend/app/views/spree/admin/shared/_locale_selection.html.erb +++ b/backend/app/views/spree/admin/shared/_locale_selection.html.erb @@ -3,7 +3,7 @@ }.sort %> <% if available_locale_options_for_select.size > 1 %> - <%= form_tag(admin_set_locale_path(format: :html), method: :put, style: "width: 100%;") do %> + <%= form_tag(spree.admin_set_locale_path(format: :html), method: :put, style: "width: 100%;") do %>