Leverage Route Model Binding

Written by Jeffrey Way / Original link on Oct. 8, 2019

So far. we've been manually fetching a record from the database using a wildcard from the URI. However, Laravel can perform this query for us automatically, thanks to route model binding.


« Reduce Duplication - Form Validation Essentials »