Skip to content

Commit

Permalink
accidental search / replace error
Browse files Browse the repository at this point in the history
  • Loading branch information
jduss4 committed Nov 17, 2020
1 parent 724c032 commit b0a9582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/orchid/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit b0a9582

Please sign in to comment.