Now that you're familiar with resourceful controllers, let's switch back to the routing layer and review a RESTful approach for constructing URIs and communicating intent.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.