diff --git a/Console/ModuleScaffoldCommand.php b/Console/ModuleScaffoldCommand.php index f2aa802..04985fd 100644 --- a/Console/ModuleScaffoldCommand.php +++ b/Console/ModuleScaffoldCommand.php @@ -59,7 +59,7 @@ public function fire() */ private function askForEntities() { - $this->entityType = $this->anticipate('Do you want to use Eloquent or Doctrine ?', ['Eloquent','Doctrine'], 'Eloquent'); + $this->entityType = $this->anticipate('Do you want to use Eloquent or Doctrine ?', ['Eloquent', 'Doctrine'], 'Eloquent'); do { $entity = $this->ask('Enter entity name. Leaving option empty will continue script.', ''); diff --git a/Http/Controllers/Admin/ThemesController.php b/Http/Controllers/Admin/ThemesController.php index c456e18..6231c57 100644 --- a/Http/Controllers/Admin/ThemesController.php +++ b/Http/Controllers/Admin/ThemesController.php @@ -1,7 +1,6 @@ app->singleton(ThemeManager::class, function($app) { + $this->app->singleton(ThemeManager::class, function ($app) { return new StylistThemeManager($app['files']); }); } diff --git a/Resources/views/admin/themes/index.blade.php b/Resources/views/admin/themes/index.blade.php index b74dcad..9b61c8e 100644 --- a/Resources/views/admin/themes/index.blade.php +++ b/Resources/views/admin/themes/index.blade.php @@ -38,7 +38,7 @@ - +