Sha256: 95c5fa98e7d8ccb5425113cc2ffacbc0d7117b0e5625959361aa6728726300cd

Contents?: true

Size: 294 Bytes

Versions: 11

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module RailsMultitenant
  module Middleware
    class Railtie < ::Rails::Railtie
      initializer 'rails_multitenant.middleware' do |app|
        app.config.middleware.insert 0, ::RailsMultitenant::Middleware::IsolatedContextRegistry
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_multitenant-0.21.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.20.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.19.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.18.1 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.18.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.17.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.16.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.15.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.14.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.13.0 lib/rails_multitenant/middleware/railtie.rb
rails_multitenant-0.13.0.rc1 lib/rails_multitenant/middleware/railtie.rb