summaryrefslogtreecommitdiff
path: root/lib/lsg_web/router.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-02-10 21:40:22 +0100
committerhref <href@random.sh>2018-02-10 21:40:22 +0100
commit935a36eecc0faea60236101e11bc9f7cf1872686 (patch)
treeb7b4358dee2eb3fc60681852f62c750ae8c05cb9 /lib/lsg_web/router.ex
parentsse / embedded player (diff)
update
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/router.ex9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex
index db0e5cd..9373e85 100644
--- a/lib/lsg_web/router.ex
+++ b/lib/lsg_web/router.ex
@@ -14,9 +14,14 @@ defmodule LSGWeb.Router do
end
scope "/", LSGWeb do
- pipe_through :browser # Use the default browser stack
-
+ pipe_through :browser
+ get "/", PageController, :index
get "/embed/widget", PageController, :widget
+ get "/api", PageController, :api
+
+ get "/irc", IrcController, :index
+ get "/irc/txt", IrcController, :txt
+ get "/irc/txt/:name", IrcController, :txt
end
scope "/api", LSGWeb do