API endpoint for retrieving the current user

This commit is contained in:
Robin Ward
2014-02-05 13:46:24 -05:00
parent af5254d3b4
commit 1dac3cfd64
3 changed files with 29 additions and 0 deletions
+1
View File
@@ -113,6 +113,7 @@ Discourse::Application.routes.draw do
end
end
get "session/current" => "session#current"
get "session/csrf" => "session#csrf"
get "composer-messages" => "composer_messages#index"