aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/layout_view.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/views/layout_view.ex')
-rw-r--r--shardweb/lib/views/layout_view.ex7
1 files changed, 7 insertions, 0 deletions
diff --git a/shardweb/lib/views/layout_view.ex b/shardweb/lib/views/layout_view.ex
new file mode 100644
index 0000000..2b12323
--- /dev/null
+++ b/shardweb/lib/views/layout_view.ex
@@ -0,0 +1,7 @@
+defmodule ShardWeb.LayoutView do
+ use ShardWeb, :view
+
+ def shard_list do
+ Shard.Manager.list_shards
+ end
+end