diff --git a/src/Console/MakeAdminLteCommand.php b/src/Console/MakeAdminLteCommand.php index c9498bf5..6512ef41 100644 --- a/src/Console/MakeAdminLteCommand.php +++ b/src/Console/MakeAdminLteCommand.php @@ -12,12 +12,6 @@ class MakeAdminLteCommand extends MakeAuthCommand protected $description = 'Scaffold basic AdminLTE login and registration views and routes'; - protected $views = [ - 'auth/emails/password.stub' => 'auth/emails/password.blade.php', - 'layouts/app.stub' => 'layouts/app.blade.php', - 'welcome.stub' => 'welcome.blade.php', - ]; - protected $adminLteViews = [ 'auth/login.stub' => 'auth/login.blade.php', 'auth/register.stub' => 'auth/register.blade.php', @@ -31,11 +25,10 @@ protected function exportViews() parent::exportViews(); foreach ($this->adminLteViews as $key => $value) { - $path = base_path('resources/views/'.$value); - - $this->line('Created View: '.$path); - - copy(__DIR__.'/stubs/make/views/'.$key, $path); + copy( + __DIR__ . '/stubs/make/views/' . $key, + base_path('resources/views/' . $value) + ); } } } \ No newline at end of file