Sha256: 027b7f279b49e503ca1b0a5b329024eafd63b36f21984d6432aa2aadadfb8557

Contents?: true

Size: 314 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 1 rubygems

Version Path
doorkeeper-5.1.2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.1.1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.2.0.rc3 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.2.0.rc2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.2.0.rc1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.1.0 app/controllers/doorkeeper/application_controller.rb