Skip to content

Commit

Permalink
Fix #235; prepend locales to i18n load path
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Dec 9, 2014
1 parent f6f3a4a commit 903ff51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/active_interaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

require 'active_interaction/backports'

I18n.load_path += Dir[File.expand_path(
File.join(%w[active_interaction locale *.yml]), File.dirname(__FILE__))]
I18n.load_path.unshift(Dir[File.expand_path(
File.join(%w[active_interaction locale *.yml]), File.dirname(__FILE__))])

# Manage application specific business logic.
#
Expand Down

1 comment on commit 903ff51

@AaronLasseigne
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.