Laravel-Challenge-Route-Model-Binding
Laravel-Challenge-Route-Model-Binding copied to clipboard
Bug Fixed for Model Bindings
Fixed all 3 bugs.
@debjit all good, well done!
Two things for the "cleaner" PR: not sure why there was a new line added in show()
method, and why server.php
file was deleted. It doesn't harm the functionality but generally adds some clutter for the person reviewing Pull Requests.
The server was deleted as I was running it as stand-alone using SQLite and my antivirus sees it as a threat and deleted it. I was debugging using dd so deleted the code but left the blank space. Sorry for that issue.