Skip to content

Commit

Permalink
fix for I18n exception on startup (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jun 2, 2018
1 parent 9b4eaeb commit 31b815d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pagy/extras/i18n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Pagy
# Use ::I18n gem
module Frontend

::I18n.load_path << I18N[:file]
::I18n.load_path << Pagy.root.join('locales', 'pagy.yml')

# overrides the built-in pagy_t
def pagy_t(*args)
Expand Down

0 comments on commit 31b815d

Please sign in to comment.