Sha256: 08562e6658563f079d4b8090a656f74cf865eb4bb7437a393bc6793973f57d35

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

module Doorkeeper
  class Engine < Rails::Engine
    initializer "doorkeeper.params.filter" do |app|
      app.config.filter_parameters += %i(client_secret code token)
    end

    initializer "doorkeeper.routes" do
      Doorkeeper::Rails::Routes.install!
    end

    initializer "doorkeeper.helpers" do
      ActiveSupport.on_load(:action_controller) do
        include Doorkeeper::Rails::Helpers
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-2.1.4 lib/doorkeeper/engine.rb
doorkeeper-2.1.3 lib/doorkeeper/engine.rb
doorkeeper-2.1.2 lib/doorkeeper/engine.rb