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.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/shardweb/lib/router.ex b/shardweb/lib/router.ex
index 61f8209..3f78afd 100644
--- a/shardweb/lib/router.ex
+++ b/shardweb/lib/router.ex
@@ -31,6 +31,9 @@ defmodule ShardWeb.Router do
get "/pub/:owner/:name", DirectoryController, :view_pub
get "/priv/:owner/:name", DirectoryController, :view_priv
+ post "/dir/add", DirectoryController, :dir_add
+ post "/dir/rm", DirectoryController, :dir_rm
+ post "/dir/set_stored", DirectoryController, :dir_set_stored
get "/chat/:chan", ChatController, :chat
get "/pm/:people_list", ChatController, :privchat