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

        $this->views->addLocation($this->getPath() . '/' . $theme . '/views');
    }
public function registerViewLocation($theme = null)
    {
        if (is_null($theme)) {
            $theme = $this->getCurrent();
        }

        $this->views->addLocation($this->getPath() . '/' . $theme . '/views');
    }
public function registerViewLocation ( $ theme = null ) { if ( is_null ( $ theme ) ) { $ theme = $ this -> getCurrent ( ) ; } $ this -> views -> addLocation ( $ this -> getPath ( ) . '/' . $ theme . '/views' ) ; }
Register view location of theme.

@param null $theme
Register view location of theme .