aboutsummaryrefslogtreecommitdiff
path: root/src/actions/api/me/show.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/api/me/show.cr')
-rw-r--r--src/actions/api/me/show.cr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/api/me/show.cr b/src/actions/api/me/show.cr
new file mode 100644
index 0000000..0060271
--- /dev/null
+++ b/src/actions/api/me/show.cr
@@ -0,0 +1,5 @@
+class Api::Me::Show < ApiAction
+ get "/api/me" do
+ json UserSerializer.new(current_user)
+ end
+end