Laravel-Challenge-Cleanup-Routes icon indicating copy to clipboard operation
Laravel-Challenge-Cleanup-Routes copied to clipboard

Challenge accepted

Open jeytii opened this issue 3 years ago • 0 comments

Regarding some changes I made on BooksRoutesTest.php, I noticed that a Book model method automatically fills out the slug attribute with a string consisting of the model's name and id attributes, so I decided to change the route parameter into $book->slug. (line 92)

jeytii avatar Sep 02 '21 09:09 jeytii