Skip to content

Commit

Permalink
Remove compiler annotation now that verified routes are used. Closes p…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Aug 22, 2022
1 parent cf24520 commit 61a4371
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions installer/templates/phx_web/views/layout_view.ex
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 61a4371

Please sign in to comment.