diff options
author | Alex Auvolat <alex@adnab.me> | 2018-11-02 14:04:52 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-11-02 14:04:52 +0100 |
commit | 94b1f6b0ae387b7fcb0714a4c6e213212097a100 (patch) | |
tree | 33fa5f6f626b075c389b4bb977d9fbb5e7e05c37 /shardweb/lib/router.ex | |
parent | 3baa53f1da7f581619b066832b8303efbe9a46ba (diff) | |
download | shard-94b1f6b0ae387b7fcb0714a4c6e213212097a100.tar.gz shard-94b1f6b0ae387b7fcb0714a4c6e213212097a100.zip |
Directory stuff
Diffstat (limited to 'shardweb/lib/router.ex')
-rw-r--r-- | shardweb/lib/router.ex | 3 |
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 |