diff options
Diffstat (limited to 'shardweb/lib/shard_web/views/layout_view.ex')
-rw-r--r-- | shardweb/lib/shard_web/views/layout_view.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shardweb/lib/shard_web/views/layout_view.ex b/shardweb/lib/shard_web/views/layout_view.ex index 4012c38..2b12323 100644 --- a/shardweb/lib/shard_web/views/layout_view.ex +++ b/shardweb/lib/shard_web/views/layout_view.ex @@ -1,3 +1,7 @@ defmodule ShardWeb.LayoutView do use ShardWeb, :view + + def shard_list do + Shard.Manager.list_shards + end end |