I have previously upgraded the version of my project to Laravel 8 and having a problem getting this error
Missing required parameter for [Route: user.archive] [URI:
user/archive/{id}] [Missing parameter: id]
this was the code that was calling the route and passing the parameters
var url = "{{ route('user.archive', ['id' => '']) }}" + "/" + user_id;
it was working on my previous version of Laravel
is there other way i can pass the parameter user_id using frontend on routes?