can we pass a rounte name in view function of laravel code example
Example: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');