For a real blog with public pages, I’d start by doing the following:
- move the routes from phx.gen.live to an admin prefix, e.g.
/admin/posts,/admin/posts/new, etc. - add a new
list_posts/0function that does not require a scope and just returns all (published) posts - create separate LiveViews for the public parts of the blog
To keep the generators simple, we offer either scoped resources or completely unscoped resources (passing --no-scope to the generators).


















