Sha256: d88e192902bd5cc8fc984bb69acd2cd04d416fc62ece70a36b49170396e60d06

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prx_auth-rails-4.2.1 lib/prx_auth/rails/railtie.rb
prx_auth-rails-4.2.0 lib/prx_auth/rails/railtie.rb