diff --git a/lib/ash_hq_web/router.ex b/lib/ash_hq_web/router.ex index 1587f78..3b7bb78 100644 --- a/lib/ash_hq_web/router.ex +++ b/lib/ash_hq_web/router.ex @@ -21,17 +21,10 @@ defmodule AshHqWeb.Router do plug(:basic_auth) end - # scope "/", host: "new." do - # get("/:name", AshHqWeb.NewController, :new) - # end - - # if Mix.env() == :dev do scope "/new" do get("/:name", AshHqWeb.NewController, :new) end - # end - scope "/", AshHqWeb do pipe_through(:browser) get "/", HomeController, :home diff --git a/lib/ash_hq_web/templates/layout/root.html.heex b/lib/ash_hq_web/templates/layout/root.html.heex index 1647f23..644af38 100644 --- a/lib/ash_hq_web/templates/layout/root.html.heex +++ b/lib/ash_hq_web/templates/layout/root.html.heex @@ -9,8 +9,8 @@ {assigns[:page_title] || "Ash Framework"} <%= if Application.get_env(:ash_hq, :analytics?) do %> - + + <% end %>