Newer
Older
class Api::V0::UsersController < Api::V0::BaseController
render json: user
end
private
def user
current_token.o_auth_application.user
class Api::V0::UsersController < Api::V0::BaseController
render json: user
end
private
def user
current_token.o_auth_application.user