diff --git a/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php b/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php index 68956a8..6e653ed 100644 --- a/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php +++ b/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php @@ -37,7 +37,6 @@ class BlueprintExtensionController extends Controller */ public function index(): View { - $rootPath = "/admin/extensions/blueprint"; $a = $this->bp->a(); $b = $this->bp->b(); $c = $this->bp->c(); @@ -45,7 +44,7 @@ class BlueprintExtensionController extends Controller 'admin.extensions.blueprint.index', [ 'version' => $this->version, 'bp' => $this->bp, - 'root' => $rootPath, + 'root' => "/admin/extensions/blueprint", 'a' => $a, 'b' => $b, 'c' => $c, diff --git a/app/Http/Controllers/Admin/ExtensionsController.php b/app/Http/Controllers/Admin/ExtensionsController.php index cb30322..b30d3b1 100644 --- a/app/Http/Controllers/Admin/ExtensionsController.php +++ b/app/Http/Controllers/Admin/ExtensionsController.php @@ -22,7 +22,6 @@ class ExtensionsController extends Controller */ public function index(): View { - $rootPath = "/admin/extensions"; - return $this->view->make('admin.extensions', ['version' => $this->version, 'bp' => $this->bp, 'root' => $rootPath]); + return $this->view->make('admin.extensions', ['version' => $this->version, 'bp' => $this->bp, 'root' => "/admin/extensions"]); } }