Support the ongoing development of Laravel.io →
Input Database Eloquent
Last updated 1 year ago.
0

Because its not a route parameter. The only vars passed, besides the dependencies injected, are route parameters. Everything else is part of the input of the request.

0

So there is no way to do it this way? I always have to manually load my models?

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

sixthpack sixthpack Joined 6 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.