Skip to content

Commit

Permalink
Simpler i18n load path concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Sep 21, 2016
1 parent df923a3 commit 72291df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/will_paginate/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ def rescue_from(*args, &block)
end

ActiveSupport.on_load :i18n do
WillPaginate::I18n.load_path.each { |path| I18n.load_path << path }
I18n.load_path.concat(WillPaginate::I18n.load_path)
end

0 comments on commit 72291df

Please sign in to comment.