laravel route parameters in controller 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');