protected function overrideViewPath()
    {
        $this->app->bind('view.finder', function ($app) {
            $defaultThemePath = $app['config']['themes.path'].'/'.$app['config']['themes.default'].'/views';

            if (is_dir($defaultThemePath)) {
                $paths = [$defaultThemePath];
            } else {
                $paths = $app['config']['view.paths'];
            }

            return new FileViewFinder($app['files'], $paths);
        });
    }