route Tricks

Browse latest tricks and tips on route.

Route controller

In laravel 8.9 we can define route controller like this Route::controller(Controller::class, function(){ Route::get('/new-route','controllerMethod'); }); ...
published on : 3 hours ago 12 Comments