diff options
Diffstat (limited to 'lib/lsg_web/controllers/network_controller.ex')
-rw-r--r-- | lib/lsg_web/controllers/network_controller.ex | 11 |
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 |