blob: 45b7d340219f3e6dbb6ffb1cb88b0909e1286916 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
defmodule ShardWeb.ChatController do
use ShardWeb, :controller
def chat(conn, %{"room" => room}) do
conn = put_gon(conn, chat_room: room)
render conn, "chat.html",
room: room
end
def privchat(_conn, %{"pk" => _pk}) do
# TODO
end
end
|