aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/views
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-10 17:24:00 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-10 17:24:00 +0200
commit062faf49cbd98fc7ef68f8387a18c5a0a131025e (patch)
tree3cd55898ab518ac1f0188df2bebae477439ed47a /shardweb/lib/shard_web/views
parent7bdd60c7f99df417b2589f0e99ff16abc8e925c5 (diff)
downloadshard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.tar.gz
shard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.zip
Fixes, and I think it works not too bad at the moment.
Diffstat (limited to 'shardweb/lib/shard_web/views')
-rw-r--r--shardweb/lib/shard_web/views/page_view.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/shardweb/lib/shard_web/views/page_view.ex b/shardweb/lib/shard_web/views/page_view.ex
index 533c9e5..99df99d 100644
--- a/shardweb/lib/shard_web/views/page_view.ex
+++ b/shardweb/lib/shard_web/views/page_view.ex
@@ -1,8 +1,8 @@
defmodule ShardWeb.PageView do
use ShardWeb, :view
- def peer_list do
- Shard.Manager.list_peers
+ def conn_list do
+ Shard.Manager.list_connections
end
def peer_id_to_str(id) do