user()->role == 1 ){ // return route('admin.dashboard'); // } // elseif(Auth()->user->role == 2 ){ // return route('user.dashboard'); // } // } }