Laravel-Challenge-Route-Model-Binding icon indicating copy to clipboard operation
Laravel-Challenge-Route-Model-Binding copied to clipboard

fixed 3 route model binding errors

Open redsoxfan2499 opened this issue 3 years ago • 0 comments

Fixed the 3 route model binding errors: First, I had to disable Horizon due to my setup.

  1. Error One: TransactionController need Transaction Model Class to be imported.
  2. Error Two: In the web.php file, the export route, it was using transactions which needed to be transaction
  3. Error Three: in the web.php file, the duplicate route, needed to add the route key to use uuid column.

Enjoyed the coding challenge. Keep doing these!

redsoxfan2499 avatar Jul 29 '21 15:07 redsoxfan2499