Sha256: 798239d71c2de7205b570db8689bbe14d18d7e30452fae60e2c82d2f7b09ec68

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationMetalController < ActionController::API
    include Helpers::Controller

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

    ActiveSupport.run_load_hooks(:doorkeeper_metal_controller, self)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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