Skip to content

Commit

Permalink
Fixed locale path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Smith committed Nov 20, 2013
1 parent 29d0103 commit 1fc0173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/errawr/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Errawr
module HTTP
I18n.load_path += Dir.glob('lib/errawr/http/locale/*.{rb,yml}')
I18n.load_path << "#{File.dirname(__FILE__)}/http/locale/en.yml"
I18n.reload!

ERRORS_4XX = [
Expand Down

0 comments on commit 1fc0173

Please sign in to comment.