aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/router.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/router.ex')
-rw-r--r--shardweb/lib/router.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/shardweb/lib/router.ex b/shardweb/lib/router.ex
index 981f946..eb1868f 100644
--- a/shardweb/lib/router.ex
+++ b/shardweb/lib/router.ex
@@ -24,11 +24,15 @@ defmodule ShardWeb.Router do
get "/people", IdentityController, :list
get "/people/:pk", IdentityController, :view
+ post "/people/:pk", IdentityController, :view_post
get "/identity", IdentityController, :self
post "/identity", IdentityController, :update
post "/identity/switch", IdentityController, :switch
post "/identity/create", IdentityController, :create
+ get "/pub/:owner/:name", DirectoryController, :view_pub
+ get "/priv/:owner/:name", DirectoryController, :view_priv
+
get "/chat/:chan", ChatController, :chat
get "/pm/:people_list", ChatController, :privchat
end