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