FIX: fix typos in registrating templates

This commit is contained in:
Michal Kváček
2016-02-18 17:46:15 +01:00
parent 66c9d7907a
commit f3dde68481
2 changed files with 2 additions and 2 deletions
@@ -235,7 +235,7 @@ class TemplateRegistrator
$paths = TemplatePaths::getWithTranslations();
$paths = array_flip($paths);
if (is_null($path) || !!isset($paths[$path])) {
if (is_null($path) || !isset($paths[$path])) {
return null;
}
+1 -1
View File
@@ -72,6 +72,6 @@ class AppServiceProvider extends ServiceProvider
$registrator = $this->app->make('registerTemplateDir');
$registrator->setBaseDirectory('resources/views/visitor');
$registrator->register(config('app.theme'), trans('admin/templates.core'));
$registrator->register(config('app.theme'), 'admin/templates.core');
}
}