From 6dcc2eefc3c8db0cadd7300536527dbd1905fa48 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 11 Oct 2018 20:14:47 +0200 Subject: Template changes --- shardweb/lib/shard_web/views/layout_view.ex | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shardweb/lib/shard_web/views/layout_view.ex') 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 -- cgit v1.2.3