laravel 8 route change code example
Example: laravel 8 route
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');