Sha256: bc618f75fc4ed5a22d9ad1f7895bf7e06f69c55c448f7e0c047475f5bf976d59

Contents?: true

Size: 362 Bytes

Versions: 30

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationMetalController <
    Doorkeeper.config.resolve_controller(:base_metal)
    include Helpers::Controller

    before_action :enforce_content_type,
                  if: -> { Doorkeeper.config.enforce_content_type }

    ActiveSupport.run_load_hooks(:doorkeeper_metal_controller, self)
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
doorkeeper-5.5.0 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.5.0.rc2 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.5.0.rc1 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.4.0 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.3.3 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.4.0.rc2 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.3.2 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.4.0.rc1 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.3.1 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.3.0 app/controllers/doorkeeper/application_metal_controller.rb