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