Support the ongoing development of →
Routing Laravel Middleware

I think that the problem is that the volt binding does not inject the class and with that will not resolve the product. I suspect you will not see a query to retrieve the product from the database.

Personal I haven't used Volt but I suspect you need to $this->authorize way that you already find (or maybe another way more matching your situation).


@tvbeek Thanks for your fast reply. I think you are right and there is sadly no support for model binding in Volt.

tvbeek liked this reply


Use HasUuids trait in the model.


Sign in to participate in this thread!


Your banner here too?

Patrick pa2codes Joined 18 Apr 2024


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

Your logo here?

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

© 2024 - All rights reserved.