Skip to content

Commit

Permalink
Merge branch 'enriclluelles:master' into fix-lazy-loading-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdebruin authored Dec 19, 2023
2 parents fdada89 + b16c3ec commit 81a2744
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
rubygems: latest
- name: Run tests
run: bundle exec rake test
- name: Coveralls Parallel
Expand Down
2 changes: 1 addition & 1 deletion lib/route_translator/translator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def route_name_for(args, old_name, suffix, kaller)

locale = if args_locale
args_locale.to_s.underscore
elsif kaller.respond_to?("#{old_name}_#{current_locale_name}_#{suffix}")
elsif kaller.respond_to?(:"#{old_name}_#{current_locale_name}_#{suffix}")
current_locale_name
else
I18n.default_locale.to_s.underscore
Expand Down

0 comments on commit 81a2744

Please sign in to comment.