A Lesson in Refactoring

Written by Laracasts / Original link on Mar. 30, 2017

Since it seems that filtering will be an important component to our application, let's take a bit of time to perform some refactoring. Luckily, because we have a set of tests to back us up every step of the way, we can be as bold as we wish. There's no fear of breaking the app, if your tests will notify you the second you make a refactoring error. View the source code for this episode on GitHub.


« Meta Details and Pagination - A User Can Filter All Threads By Username »