Forum\Controller\Post\DeleteController::getFailRedirect PHP Method

getFailRedirect() protected method

getFailRedirect
protected getFailRedirect ( Windwalker\Data\Data $data = null ) : string
$data Windwalker\Data\Data
return string
    protected function getFailRedirect(Data $data = null)
    {
        $category = $this->model->getRecord('Category');
        $category->load($this->topic->category_id);
        return $this->router->http('topic', array('path' => $category->path, 'id' => $this->topic->id));
    }