Sha256: 059c808a018182e3326b39fbe5a7e22de379eba2ef2b38f9be4293c73e02934f

Contents?: true

Size: 205 Bytes

Versions: 13

Compression:

Stored size: 205 Bytes

Contents

module I18n
  class Middleware

    def initialize(app)
      @app = app
    end

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

  end
end

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/middleware.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/middleware.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/middleware.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/i18n-0.9.5/lib/i18n/middleware.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/i18n-0.9.5/lib/i18n/middleware.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/i18n-0.9.5/lib/i18n/middleware.rb
tdiary-5.0.8 vendor/bundle/gems/i18n-0.9.5/lib/i18n/middleware.rb
i18n-1.0.0 lib/i18n/middleware.rb
i18n-0.9.5 lib/i18n/middleware.rb
i18n-0.9.4 lib/i18n/middleware.rb
i18n-0.9.3 lib/i18n/middleware.rb
i18n-0.9.1 lib/i18n/middleware.rb
i18n-0.9.0 lib/i18n/middleware.rb