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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community