We now have to refine the front-end of our website, that is to say what visitors will see.
If you request the following URL:
You will see the scaffold we generated earlier with
The first important thing to do is to prevent any edition on our posts. As we did several times for the administration panel, remove the create, edit and delete actions of the Post controller and their associated views. Note that, here, we are talking about the Post controller located at
BLOGPATH/classes/controller/post.php, since we are working on the website's front-end. You can also delete the
BLOGPATH/views/admin/post/_form.php view file, as it is only ...