12 lines
267 B
Ruby
12 lines
267 B
Ruby
|
class MetalController < ActionController::Metal
|
||
|
include AbstractController::Callbacks
|
||
|
include ActionController::Head
|
||
|
include Doorkeeper::Rails::Helpers
|
||
|
|
||
|
before_action :doorkeeper_authorize!
|
||
|
|
||
|
def index
|
||
|
self.response_body = { ok: true }.to_json
|
||
|
end
|
||
|
end
|