Class: I18n::ExtraTranslations::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n/extra_translations/server.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



4
5
6
7
# File 'lib/i18n/extra_translations/server.rb', line 4

def call(env)
  reload_mt(I18n::ExtraTranslations.missing_translations)
  [ 200, { "Content-Type" => "text/plain" }, [ mt_view(I18n::ExtraTranslations.missing_translations) ] ]
end