aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/templates/page/index.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/shard_web/templates/page/index.html.eex')
-rw-r--r--shardweb/lib/shard_web/templates/page/index.html.eex2
1 files changed, 1 insertions, 1 deletions
diff --git a/shardweb/lib/shard_web/templates/page/index.html.eex b/shardweb/lib/shard_web/templates/page/index.html.eex
index 412cbe5..2efa030 100644
--- a/shardweb/lib/shard_web/templates/page/index.html.eex
+++ b/shardweb/lib/shard_web/templates/page/index.html.eex
@@ -21,7 +21,7 @@
<% end %>
</table>
-<%= form_for @conn, peer_path(@conn, :add), [class: "form-inline"], fn f -> %>
+<%= form_for @conn, page_path(@conn, :add_peer), [class: "form-inline"], fn f -> %>
<%= text_input f, :ip, [class: "form-control", placeholder: "Hostname / IP address"] %>
<%= text_input f, :port, [class: "form-control", placeholder: "Port", value: "4044"] %>
<%= submit "Add peer", [class: "btn btn-default"] %>