diff --git a/lib/controller.ex b/lib/controller.ex new file mode 100644 index 0000000..8725a31 --- /dev/null +++ b/lib/controller.ex @@ -0,0 +1,9 @@ +defmodule MiApp.Controller do + use MiAppWeb, :controller + + def index(conn, _params) do + version = Ordo.version() + + render(conn, "index.html", version: version) + end +end diff --git a/priv/static/index.html b/priv/static/index.html index b360ed1..2ddb669 100644 --- a/priv/static/index.html +++ b/priv/static/index.html @@ -134,28 +134,11 @@