blob: 68db91463c90adc4f7cc249b9b0a9e31824c0fcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class Api::V1::PreferencesController < Api::BaseController
before_action -> { doorkeeper_authorize! :read, :'read:accounts' }
before_action :require_user!
respond_to :json
def index
render json: current_account, serializer: REST::PreferencesSerializer, monsterfork_api: monsterfork_api
end
end
|