laravel 8 route groups middleware code example
Example: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');