laravel 7 route put in form 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');