aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/controllers/room_controller.ex
blob: d24649baaa64b6d3710ac646ada4a7078547d3aa (plain) (blame)
1
2
3
4
5
6
7
8
9
defmodule ShardWeb.RoomController do
  use ShardWeb, :controller

  def show(conn, %{"room" => room}) do
    conn = put_gon(conn, chat_room: room)
    render conn, "show.html",
      room: room
  end
end