Sha256: 01d9e278aee8c50dc4815a0e32d49aeb3bdbd614ffdf98fc19431ba8a95a3cdc
Contents?: true
Size: 459 Bytes
Versions: 13
Compression:
Stored size: 459 Bytes
Contents
require 'rails/railtie' require 'prx_auth/rails/ext/controller' require 'rack/prx_auth' 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
Version data entries
13 entries across 13 versions & 1 rubygems