Using multiple keys for route model binding

1 episode
4 mins

About this snippet

By default, Laravel uses one key for route model binding lookup. When you need to use two or more, this is how to do it.

Your teacher

Alex Garrett-Smith
Alex Garrett-Smith

Hey, I'm the founder of Codecourse!

Want to stay in the loop about new content?
Of course you do.

© 2024 Codecourse Ltd. All Rights Reserved. Born in the UK.