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, 2 insertions, 2 deletions
diff --git a/shardweb/lib/router.ex b/shardweb/lib/router.ex
index 2c69b8c..981f946 100644
--- a/shardweb/lib/router.ex
+++ b/shardweb/lib/router.ex
@@ -18,9 +18,9 @@ defmodule ShardWeb.Router do
scope "/", ShardWeb do
pipe_through :browser # Use the default browser stack
- get "/", PageController, :peer_list
+ get "/", PageController, :shard_list
+ get "/peers", PageController, :peer_list
post "/peer/add", PageController, :add_peer
- get "/dashboard", PageController, :shard_list
get "/people", IdentityController, :list
get "/people/:pk", IdentityController, :view