diff --git a/app/helpers/orchid/application_helper.rb b/app/helpers/orchid/application_helper.rb index d53266d5..f2f5bdd4 100644 --- a/app/helpers/orchid/application_helper.rb +++ b/app/helpers/orchid/application_helper.rb @@ -183,7 +183,7 @@ def locale def locale_link(lang_code) locales = APP_OPTS["all_languages"].split("|") - .reject { |l| l == APP_OPTS["all_language_default"] }.join("|") + .reject { |l| l == APP_OPTS["language_default"] }.join("|") url = request.fullpath if lang_code == APP_OPTS["language_default"]