blob: 4d9adb4e979e08bfeab194abea29df64b3be1f34 (
plain) (
tree)
|
|
defmodule ShardWeb.RoomController do
use ShardWeb, :controller
import PhoenixGon.Controller
def show(conn, %{"room" => room}) do
conn = put_gon(conn, chat_room: room)
render conn, "show.html",
room: room,
name: Shard.Identity.get_nickname
end
end
|