Level 104
Show us your route definition incl. the route group
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. I have a named route called products.view.
It is a prefixed route, with lang for localization, and it has catID parameter as the last parameter. Inside my blade view, I'm trying to pass those two parameters but I'm receiving the error from the title.
This is my code in blade template
{{ route('products.view', ['lang'=>App::getLocale(),'catID'=>$category->id]) }}
What am I doing wrong here?
Please or to participate in this conversation.