add home and handle 404 page not found
This commit is contained in:
@@ -9,8 +9,8 @@ class RoutingController extends Controller
|
||||
{
|
||||
public function index(Request $request)
|
||||
{
|
||||
if (Auth::user()) {
|
||||
return redirect('index');
|
||||
if (Auth::check()) {
|
||||
return view('home.index');
|
||||
} else {
|
||||
return redirect('auth.signin');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user