public function registerViewLocation($theme = null)
    {
        if (is_null($theme)) {
            $theme = $this->getCurrent();
        }

        $this->views->addLocation($this->getPath() . '/' . $theme . '/views');
    }