Sha256: 330595e829370a1967a504705b1d68e67f66dbba8031bb2fe6d6d0d3baadf7e0

Contents?: true

Size: 376 Bytes

Versions: 7

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationMetalController <
    Doorkeeper.configuration.resolve_controller(:base_metal)
    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

7 entries across 7 versions & 1 rubygems

Version Path
doorkeeper-5.2.6 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.5 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.4 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.3 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.2 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.1 app/controllers/doorkeeper/application_metal_controller.rb
doorkeeper-5.2.0 app/controllers/doorkeeper/application_metal_controller.rb