code: protected function redirect($controller = null, $action = null)
      {
          if (null === $controller) {
              $controller = Application::getInstance()->getDefaultController();
          }
          if (null === $action) {
              $action = Application::getInstance()->getDefaultAction();
          }
          $destination = sprintf("Location: %s%s/%s", $this->request->getContextPrefix(), $controller, $action);
          header($destination);
          exit();
      }
docs: Redirects the current request to another site
  
  @param string $controller
  The name of Controller to
  @param string $action