class I18n::Middleware
def call(env)
def call(env) @app.call(env) ensure Thread.current[:i18n_config] = I18n::Config.new end
def initialize(app)
def initialize(app) @app = app end
def call(env) @app.call(env) ensure Thread.current[:i18n_config] = I18n::Config.new end
def initialize(app) @app = app end