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