Module: I18n::MissingTranslations::Handler

Defined in:
lib/i18n/missing_translations/handler.rb

Instance Method Summary collapse

Instance Method Details

#call(exception, locale, key, options) ⇒ Object



4
5
6
7
# File 'lib/i18n/missing_translations/handler.rb', line 4

def call(exception, locale, key, options)
  I18n.missing_translations.log(exception.keys) if MissingTranslation === exception
  super
end