aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/views
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/shard_web/views')
-rw-r--r--shardweb/lib/shard_web/views/layout_view.ex4
-rw-r--r--shardweb/lib/shard_web/views/room_view.ex4
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