lib/prx_auth/rails/railtie.rb in prx_auth-rails-3.0.1 vs lib/prx_auth/rails/railtie.rb in prx_auth-rails-4.0.0
- old
+ new
@@ -5,13 +5,7 @@
module PrxAuth::Rails
class Railtie < ::Rails::Railtie
config.to_prepare do
ApplicationController.send(:include, PrxAuth::Rails::Controller)
end
-
- initializer 'prx_auth.insert_middleware' do |app|
- if PrxAuth::Rails.configuration.install_middleware
- app.config.middleware.insert_after Rack::Head, Rack::PrxAuth
- end
- end
end
end