Esempio n. 1
0
 /**
  *
  */
 private function genericNotFound()
 {
     $view = new View($this->container);
     if ($this->request->isAjax()) {
         $view->json(['Not Found']);
     } else {
         $view->raw('The Page you were looking for could not be found', View::ERROR);
     }
 }