Fix a couple things based on community feedback (love ya!)

This commit is contained in:
José Valim
2010-06-13 10:51:46 +02:00
parent a2f84852af
commit ed22295963
3 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ module Devise
translations = begin
I18n.t("devise.mailer", :raise => true).map { |k, v| k if v.is_a?(String) }.compact
rescue Exception => e # Do not care if something fails
{}
[]
end
keys = actions & translations
@@ -48,7 +48,7 @@ module Devise
translations = begin
I18n.t("devise.sessions", :raise => true).keys
rescue Exception => e # Do not care if something fails
{}
[]
end
keys = flash & translations