Before we build a form to edit a user's profile, we must first ensure that the proper authorization is in place.
View the source code for this episode on GitHub.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.