lib/prx_auth/rails/railtie.rb in prx_auth-rails-0.1.0 vs lib/prx_auth/rails/railtie.rb in prx_auth-rails-0.2.0

- old
+ new

@@ -8,10 +8,10 @@ ApplicationController.send(:include, PrxAuth::Rails::Controller) end initializer 'prx_auth.insert_middleware' do |app| if PrxAuth::Rails.middleware - app.config.middleware.insert ActionDispatch::ParamsParser, Rack::PrxAuth + app.config.middleware.insert_after Rack::Head, Rack::PrxAuth end end end end