You can specify route parameters in the second argument as described in the docs. Here's the example from there:
$url = route('profile', ['id' => 1, 'photos' => 'yes']);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community