laravel 7 url route parameters code example
Example 1: laravel route
Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');
Example 2: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');