You can use Route::view($uri , $bladePage)
to return a view directly, without having to use controller function.
//this will return home.blade.php viewRoute::view('/home', 'home');
You can use Route::view($uri , $bladePage)
to return a view directly, without having to use controller function.
//this will return home.blade.php viewRoute::view('/home', 'home');