Sha256: 2b92adff009bdb61eb20053408377edc25099082e44eaeca61febdc1a0c31c8b

Contents?: true

Size: 371 Bytes

Versions: 20

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationController <
    Doorkeeper.config.resolve_controller(:base)
    include Helpers::Controller
    include ActionController::MimeResponds if Doorkeeper.config.api_only

    unless Doorkeeper.config.api_only
      protect_from_forgery with: :exception
      helper "doorkeeper/dashboard"
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
doorkeeper-5.8.1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.8.0 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.7.1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.7.0 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.9 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.8 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.7 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.6 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.5 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.4 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.3 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.0 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.0.rc2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.6.0.rc1 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.5.4 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.5.3 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.5.2 app/controllers/doorkeeper/application_controller.rb
doorkeeper-5.5.1 app/controllers/doorkeeper/application_controller.rb