Files
dawarich/app/controllers/api/v1/users_controller.rb
Eugene Burmakin 41bb2e07fb Add user endpoint
2025-01-20 15:17:56 +01:00

8 lines
141 B
Ruby

# frozen_string_literal: true
class Api::V1::UsersController < ApiController
def me
render json: { user: current_api_user }
end
end