diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-11 20:14:47 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-11 20:14:54 +0200 |
commit | 6dcc2eefc3c8db0cadd7300536527dbd1905fa48 (patch) | |
tree | 3eb00337e1dd7bc47680b9fa16ec721eb216f4a9 /shardweb/lib/shard_web/views/layout_view.ex | |
parent | 123fbcf6abcfe61ef65cc82f1d22843dde722b23 (diff) | |
download | shard-6dcc2eefc3c8db0cadd7300536527dbd1905fa48.tar.gz shard-6dcc2eefc3c8db0cadd7300536527dbd1905fa48.zip |
Template changes
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 |