Sha256: c21cddcf2f4b8d262ca169b5815fdd236b7575fc857e3f752af32d05e61c831b

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

module MiddlewareHealthcheck
  class Railtie < Rails::Railtie
    initializer "middleware_healthcheck.configure_rails_initialization" do
      app.middleware.insert_after Rails::Rack::Logger, MiddlewareHealthcheck::Middleware
    end

    def app
      Rails.application
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleware_healthcheck-0.2.2 lib/middleware_healthcheck/rails.rb
middleware_healthcheck-0.2.1 lib/middleware_healthcheck/rails.rb