Sha256: 7188128866c6ce4d16e86a4266701d0a1c22d0a2b1361e1ec724966062af304c

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

module OpenIdAuthentication
  class Railtie < ::Rails::Railtie
    config.app_middleware.use OpenIdAuthentication::Middleware

    config.after_initialize do
      OpenID::Util.logger = Rails.logger
    end

    ActiveSupport.on_load :action_controller do
      ActionController::Base.send :include, ControllerMethods
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
open_id_authentication-1.3.0 lib/open_id_authentication/railtie.rb
open_id_authentication-1.2.0 lib/open_id_authentication/railtie.rb