Skip to content

Commit

Permalink
Merge pull request #450 from kirs/fix/i18n-path
Browse files Browse the repository at this point in the history
Operate with i18n.load_path, not i18n.railties_load_path
  • Loading branch information
mislav committed Jan 3, 2016
2 parents 4de9b26 + 6bfa748 commit 54328f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/will_paginate/railtie.rb
Expand Up @@ -32,7 +32,7 @@ def self.setup_actioncontroller
end

def self.add_locale_path(config)
config.i18n.railties_load_path.unshift(*WillPaginate::I18n.load_path)
config.i18n.load_path.unshift(*WillPaginate::I18n.load_path)
end

# Extending the exception handler middleware so it properly detects
Expand Down

0 comments on commit 54328f4

Please sign in to comment.