Override the route parameter names code example
Example: Override the route parameter names
Route::resource('user', 'AdminUserController', ['parameters' => [
'user' => 'admin_user'
]]);
Route::resource('user', 'AdminUserController', ['parameters' => [
'user' => 'admin_user'
]]);