diff options
Diffstat (limited to 'shardweb/lib/shard_web/views/room_view.ex')
-rw-r--r-- | shardweb/lib/shard_web/views/room_view.ex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shardweb/lib/shard_web/views/room_view.ex b/shardweb/lib/shard_web/views/room_view.ex new file mode 100644 index 0000000..b2d7ebe --- /dev/null +++ b/shardweb/lib/shard_web/views/room_view.ex @@ -0,0 +1,7 @@ +defmodule ShardWeb.RoomView do + use ShardWeb, :view + + def shard_list do + :ets.tab2list(:shard_db) + end +end |