diff --git a/installer/templates/phx_web/views/layout_view.ex b/installer/templates/phx_web/views/layout_view.ex index 80a71e9a91..766768b2af 100644 --- a/installer/templates/phx_web/views/layout_view.ex +++ b/installer/templates/phx_web/views/layout_view.ex @@ -1,7 +1,3 @@ defmodule <%= @web_namespace %>.LayoutView do use <%= @web_namespace %>, :view - - # Phoenix LiveDashboard is available only in development by default, - # so we instruct Elixir to not warn if the dashboard route is missing. - @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end