Sha256: 1ea019f4abab2e971aeb49ccf6652f31c3cff7354d9743311c5add92ce8ebf2d

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 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

3 entries across 3 versions & 2 rubygems

Version Path
open_id_authentication-2.0.2 lib/open_id_authentication/railtie.rb
open_id_authentication-2.0.1 lib/open_id_authentication/railtie.rb
open_id_authentication2-2.0.0 lib/open_id_authentication/railtie.rb