diff --git a/backend/app/views/spree/admin/shared/_theme_selection.html.erb b/backend/app/views/spree/admin/shared/_theme_selection.html.erb index ad4d7a2027e..ad138748bce 100644 --- a/backend/app/views/spree/admin/shared/_theme_selection.html.erb +++ b/backend/app/views/spree/admin/shared/_theme_selection.html.erb @@ -1,6 +1,6 @@ <% theme_options_for_select = Spree::Backend::Config.themes.keys.map { |theme| [theme.to_s.humanize, theme] }.sort %> -<%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %> +<%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %> <%= hidden_field_tag :system_theme, :light %> <% end %> -<%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %> +<%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %> <%= hidden_field_tag :system_theme, :dark %>