Programming Phoenix LiveView: "PentoWeb.LayoutView" outdated ("Authenticate the Live View" section)

The sample code for explicitly adding the root layout seems to be outdated. I started the book this morning and just now got a “module does not exist” error using the sample code. I just had to change “PentoWeb.LayoutView” to “PentoWeb.Layouts” to fix.

Loving the book!

~Eileen

1 Like