diff --git a/core/lib/refinery/helpers/site_bar_helper.rb b/core/lib/refinery/helpers/site_bar_helper.rb index 611dfb6317..53074ed0c7 100644 --- a/core/lib/refinery/helpers/site_bar_helper.rb +++ b/core/lib/refinery/helpers/site_bar_helper.rb @@ -8,7 +8,7 @@ def site_bar_switch_link (if session.keys.include?(:website_return_to) and session[:website_return_to].present? session[:website_return_to] else - root_path + root_path(:locale => (::Refinery::I18n.default_frontend_locale if defined?(::Refinery::I18n) && ::Refinery::I18n.enabled?)) end)) do link_to t('.switch_to_your_website_editor'), (if session.keys.include?(:refinery_return_to) and session[:refinery_return_to].present?