Skip to content

Commit

Permalink
use <namespace>.Layouts module (#3149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Mar 4, 2024
1 parent f3c5cdf commit 5849331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/server/live-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The "root" layout is rendered only on the initial request and
therefore it has access to the `@conn` assign. The root layout
is typically defined in your router:

plug :put_root_layout, html: {MyAppWeb.LayoutView, :root}
plug :put_root_layout, html: {MyAppWeb.Layouts, :root}

The root layout can also be set via the `:root_layout` option
in your router via `Phoenix.LiveView.Router.live_session/2`.
Expand Down

0 comments on commit 5849331

Please sign in to comment.