Example #1
0
 public function index()
 {
     if (!Auth::check()) {
         $auth = new AuthController();
         return $auth->getLogin();
     }
     return redirect()->intended('dashboard');
 }