Sha256: 07db20d4a74cdcd1c03bc9e8830736fe9328145b662c688348acd9a27e22ab27

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class ApplicationMetalController < Doorkeeper.configuration.base_metal_controller.constantize
    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

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper-5.2.0.rc3 app/controllers/doorkeeper/application_metal_controller.rb