From 1f9b2f0494da82d77922c43f52a188ed0c096f21 Mon Sep 17 00:00:00 2001 From: RachidLaasri Date: Wed, 9 Sep 2015 20:17:41 +0100 Subject: [PATCH] Move views to vendor folder --- src/Controllers/DatabaseController.php | 2 +- src/Controllers/PermissionsController.php | 2 +- src/Controllers/RequirementsController.php | 2 +- src/Controllers/WelcomeController.php | 2 +- src/Providers/LaravelInstallerServiceProvider.php | 2 +- src/Views/database.blade.php | 2 +- src/Views/permissions.blade.php | 2 +- src/Views/requirements.blade.php | 2 +- src/Views/welcome.blade.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Controllers/DatabaseController.php b/src/Controllers/DatabaseController.php index e91ce94..68ce068 100644 --- a/src/Controllers/DatabaseController.php +++ b/src/Controllers/DatabaseController.php @@ -30,6 +30,6 @@ public function database() { $respond = $this->databaseManager->migrateAndSeed(); - return view('installer.database', compact('respond')); + return view('vendor.installer.database', compact('respond')); } } diff --git a/src/Controllers/PermissionsController.php b/src/Controllers/PermissionsController.php index d6dfa0e..007c2a2 100644 --- a/src/Controllers/PermissionsController.php +++ b/src/Controllers/PermissionsController.php @@ -33,6 +33,6 @@ public function permissions() config('installer.permissions') ); - return view('installer.permissions', compact('permissions')); + return view('vendor.installer.permissions', compact('permissions')); } } diff --git a/src/Controllers/RequirementsController.php b/src/Controllers/RequirementsController.php index f55f732..e681e34 100644 --- a/src/Controllers/RequirementsController.php +++ b/src/Controllers/RequirementsController.php @@ -32,6 +32,6 @@ public function requirements() config('installer.requirements') ); - return view('installer.requirements', compact('requirements')); + return view('vendor.installer.requirements', compact('requirements')); } } diff --git a/src/Controllers/WelcomeController.php b/src/Controllers/WelcomeController.php index 474a56c..b067842 100644 --- a/src/Controllers/WelcomeController.php +++ b/src/Controllers/WelcomeController.php @@ -13,6 +13,6 @@ class WelcomeController extends Controller */ public function welcome() { - return view('installer.welcome'); + return view('vendor.installer.welcome'); } } diff --git a/src/Providers/LaravelInstallerServiceProvider.php b/src/Providers/LaravelInstallerServiceProvider.php index 59c922e..7846991 100644 --- a/src/Providers/LaravelInstallerServiceProvider.php +++ b/src/Providers/LaravelInstallerServiceProvider.php @@ -51,7 +51,7 @@ protected function publishFiles() ], 'public'); $this->publishes([ - __DIR__.'/../Views' => base_path('resources/views/installer'), + __DIR__.'/../Views' => base_path('resources/views/vendor/installer'), ]); $this->publishes([ diff --git a/src/Views/database.blade.php b/src/Views/database.blade.php index 35753f5..3279a13 100644 --- a/src/Views/database.blade.php +++ b/src/Views/database.blade.php @@ -1,4 +1,4 @@ -@extends('installer.layouts.master') +@extends('vendor.installer.layouts.master') @section('container')
diff --git a/src/Views/permissions.blade.php b/src/Views/permissions.blade.php index 992450a..078b696 100644 --- a/src/Views/permissions.blade.php +++ b/src/Views/permissions.blade.php @@ -1,4 +1,4 @@ -@extends('installer.layouts.master') +@extends('vendor.installer.layouts.master') @section('container')
diff --git a/src/Views/requirements.blade.php b/src/Views/requirements.blade.php index 7786016..1a6b7e1 100644 --- a/src/Views/requirements.blade.php +++ b/src/Views/requirements.blade.php @@ -1,4 +1,4 @@ -@extends('installer.layouts.master') +@extends('vendor.installer.layouts.master') @section('container')
diff --git a/src/Views/welcome.blade.php b/src/Views/welcome.blade.php index 59e8446..29d3d51 100644 --- a/src/Views/welcome.blade.php +++ b/src/Views/welcome.blade.php @@ -1,4 +1,4 @@ -@extends('installer.layouts.master') +@extends('vendor.installer.layouts.master') @section('container')