def site_bar_switch_link
      link_to_if(admin?, t('.switch_to_your_website', site_bar_translate_locale_args),
                         refinery.root_path(site_bar_translate_locale_args),
                         'data-turbolinks' => false) do
        link_to t('.switch_to_your_website_editor', site_bar_translate_locale_args),
                Refinery::Core.backend_path, 'data-turbolinks' => false
      end
    end
def site_bar_switch_link
      link_to_if(admin?, t('.switch_to_your_website', site_bar_translate_locale_args),
                         refinery.root_path(site_bar_translate_locale_args),
                         'data-turbolinks' => false) do
        link_to t('.switch_to_your_website_editor', site_bar_translate_locale_args),
                Refinery::Core.backend_path, 'data-turbolinks' => false
      end
    end
Generates the link to determine where the site bar switch button returns to.