lib/Site.php
public function registerViews()
    {
        $viewFiles = $this->getFiles('app/Views');

        foreach ($viewFiles as $viewFile) {
            // Make sure the viewFile is a class

            if ($this->isUnderStoryView($viewFile)) {
                $viewClass = static::getSiteNamespace().'\\Views\\'.$this->fileToClass($viewFile);
                if (!class_exists($viewClass)) {
                    $viewClass = static::getParentNamespace().'\\Views\\'.$this->fileToClass($viewFile);
                }
                $this->registerView($viewClass);
            }
        }
    }
public function registerViews()
    {
        $viewFiles = $this->getFiles('app/Views');

        foreach ($viewFiles as $viewFile) {
            // Make sure the viewFile is a class

            if ($this->isUnderStoryView($viewFile)) {
                $viewClass = static::getSiteNamespace().'\\Views\\'.$this->fileToClass($viewFile);
                if (!class_exists($viewClass)) {
                    $viewClass = static::getParentNamespace().'\\Views\\'.$this->fileToClass($viewFile);
                }
                $this->registerView($viewClass);
            }
        }
    }
Register the views in app/models automatically