Initial commit

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2019-10-09 08:59:53 -04:00
commit fe85447557
62 changed files with 7907 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
defmodule AnonbbWeb.PageController do
use AnonbbWeb, :controller
def index(conn, _params) do
render(conn, "index.html")
end
end

View File

@@ -0,0 +1,7 @@
defmodule AnonbbWeb.RoomController do
use AnonbbWeb, :controller
def show(conn, %{"name" => _name}) do
render(conn, "show.html", messages: Anonbb.Message.get_messages(20))
end
end