summaryrefslogtreecommitdiff
path: root/lib/lsg_web/controllers/network_controller.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_web/controllers/network_controller.ex')
-rw-r--r--lib/lsg_web/controllers/network_controller.ex11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/lsg_web/controllers/network_controller.ex b/lib/lsg_web/controllers/network_controller.ex
new file mode 100644
index 0000000..537c2f6
--- /dev/null
+++ b/lib/lsg_web/controllers/network_controller.ex
@@ -0,0 +1,11 @@
+defmodule LSGWeb.NetworkController do
+ use LSGWeb, :controller
+ plug LSGWeb.ContextPlug
+
+ def index(conn, %{"network" => network}) do
+ conn
+ |> assign(:title, network)
+ |> render("index.html")
+ end
+
+end