Answers for "route name not working laravel 8"

1

laravel route target class not found

Routing namespaces have been updated on Laravel 8.X

On your router, you should define:
use AppHttpControllersTestController;

And then, declare:
Route::get('test',[TestController::class, 'test']);
Posted by: Guest on May-03-2021
-1

set route name laravel

Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Posted by: Guest on October-06-2020

Code answers related to "route name not working laravel 8"

Browse Popular Code Answers by Language