public function quit($redirection = null)
    {
        if (!$this->response->getAjax()) {
            if ($redirection) {
                $this->redirection($redirection);
            }
            $this->shareMessages();
            if (!GL_TESTING) {
                Bootstrap::dispatch($this->response);
                exit;
            }
        }
        return true;
    }
public function quit($redirection = null)
    {
        if (!$this->response->getAjax()) {
            if ($redirection) {
                $this->redirection($redirection);
            }
            $this->shareMessages();
            if (!GL_TESTING) {
                Bootstrap::dispatch($this->response);
                exit;
            }
        }
        return true;
    }
public function quit ( $ redirection = null ) { if ( ! $ this -> response -> getAjax ( ) ) { if ( $ redirection ) { $ this -> redirection ( $ redirection ) ; } $ this -> shareMessages ( ) ; if ( ! GL_TESTING ) { Bootstrap :: dispatch ( $ this -> response ) ; exit ; } } return true ; }
Redirige y despacha la respuesta

@param null $redirection
@return bool
Redirige y despacha la respuesta