route name is in laravel controller code example
Example: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');