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 | |
parent | 123fbcf6abcfe61ef65cc82f1d22843dde722b23 (diff) | |
download | shard-6dcc2eefc3c8db0cadd7300536527dbd1905fa48.tar.gz shard-6dcc2eefc3c8db0cadd7300536527dbd1905fa48.zip |
Template changes
Diffstat (limited to 'shardweb/lib/shard_web/views')
-rw-r--r-- | shardweb/lib/shard_web/views/layout_view.ex | 4 | ||||
-rw-r--r-- | shardweb/lib/shard_web/views/room_view.ex | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/shardweb/lib/shard_web/views/room_view.ex b/shardweb/lib/shard_web/views/room_view.ex index 7ec961b..ebc2a60 100644 --- a/shardweb/lib/shard_web/views/room_view.ex +++ b/shardweb/lib/shard_web/views/room_view.ex @@ -1,7 +1,3 @@ defmodule ShardWeb.RoomView do use ShardWeb, :view - - def shard_list do - Shard.Manager.list_shards - end end |