Eloquent Route Model Binding & RESTful Controller - Part 3
In part 3 of our RESTful Controller, we are continuing with the Edit and Update methods of our controller. Follow along as we get this implemented on our project.
Eloquent Route Model Binding & RESTful Controller - Part 2
In part 2 of the RESTful Controller refactor, we are tackling the show method of our methodology. Along the way, we are going to learn how to add a wildcard to a route and all about Route Model Binding and how it can automatically fetch a record for us.
Eloquent Accessors & RESTful Controller - Part 1
It’s time for us to tackle a refactor of our controllers and views to implement a RESTful controller approach. Follow along as we implement the index, create and store methods in our controller and properly store our views, following the same approach. As a last bit, let’s write an accessor for our active column for better display.