Sha256: 6adfc7fa0f3a22e4a00ee021d606052bfdaf5bcac1783dea74fd1ed4537c41f2

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationController <
    Doorkeeper.configuration.base_controller.constantize

    include Helpers::Controller

    unless Doorkeeper.configuration.api_only
      protect_from_forgery with: :exception
      helper 'doorkeeper/dashboard'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
doorkeeper-5.0.3 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.1.0.rc2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.1.0.rc1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.0.2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.0.1 app/controllers/doorkeeper/application_controller.rb