Skip to content

Commit

Permalink
Update routing.md (#5361)
Browse files Browse the repository at this point in the history
LayoutView to Layouts.
  • Loading branch information
ratulb committed Mar 20, 2023
1 parent c21b861 commit c2935d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guides/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule HelloWeb.Router do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_live_flash
plug :put_root_layout, {HelloWeb.LayoutView, :root}
plug :put_root_layout, {HelloWeb.Layouts, :root}
plug :protect_from_forgery
plug :put_secure_browser_headers
end
Expand Down Expand Up @@ -457,7 +457,7 @@ defmodule HelloWeb.Router do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_live_flash
plug :put_root_layout, {HelloWeb.LayoutView, :root}
plug :put_root_layout, {HelloWeb.Layouts, :root}
plug :protect_from_forgery
plug :put_secure_browser_headers
end
Expand Down Expand Up @@ -502,7 +502,7 @@ defmodule HelloWeb.Router do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_live_flash
plug :put_root_layout, {HelloWeb.LayoutView, :root}
plug :put_root_layout, {HelloWeb.Layouts, :root}
plug :protect_from_forgery
plug :put_secure_browser_headers
end
Expand Down

0 comments on commit c2935d2

Please sign in to comment.