Skip to content

Commit

Permalink
remove a throw
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jun 30, 2014
1 parent 57fcb24 commit 750c3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n/backend/chain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def translate(locale, key, default_options = {})
end

return namespace if namespace
throw(:exception, I18n::MissingTranslation.new(locale, key, options))
raise I18n::ThrowException.new(I18n::MissingTranslation.new(locale, key, options))
end

def exists?(locale, key)
Expand Down

0 comments on commit 750c3c3

Please sign in to comment.