public function doAfter() {
        if ($this->_footerController) {
            $viewPath = ROOT . DS . 'app' . DS . 'views' . DS .
                strtolower($this->_controller->getControllerName()) . DS .
                strtolower($this->_controller->getAction()) . DS . 'footer.php';
            if (file_exists($viewPath)) {
                $this->_controller->addView(FView::create(strtolower($this->_controller->getControllerName()) . DS .
                    strtolower($this->_controller->getAction()) . DS . 'footer.php', $this->getController()->getApp()));
            } elseif ($this->_footerGlobal) {
                $viewPath = ROOT . DS . 'app' . DS . 'views' . DS . 'footer.php';
                if (file_exists($viewPath)) {
                    $this->_controller->addView(FView::create('footer.php', $this->getController()->getApp()));
                }
            }
        }
    }