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

**URL:** <https://forum.devtalk.com/t/programming-phoenix-liveview-pentoweb-layoutview-outdated-authenticate-the-live-view-section/156139>\
**Category:** PragProg Customers\
**Tags:** book-programming-phoenix-liveview, suggestion\
**Created:** [22 May 2024 01:56 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-pentoweb-layoutview-outdated-authenticate-the-live-view-section/156139 "2024-05-22T01:56:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enoonan](https://forum.devtalk.com/user_avatar/forum.devtalk.com/enoonan/32/6103_2.png) [@enoonan](https://forum.devtalk.com/u/enoonan)\
**Post date:** [22 May 2024 01:56 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-pentoweb-layoutview-outdated-authenticate-the-live-view-section/156139/1 "2024-05-22T01:56:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SophieDeBenedetto](https://forum.devtalk.com/user_avatar/forum.devtalk.com/sophiedebenedetto/32/2521_2.png) [@SophieDeBenedetto](https://forum.devtalk.com/u/SophieDeBenedetto)\
**Post date:** [16 September 2024 01:27 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-pentoweb-layoutview-outdated-authenticate-the-live-view-section/156139/2 "2024-09-16T01:27:54Z")

</div>

Indeed this is outdated! I’ll update this code sample. Thank you!
