No approval of a $rootPath variable
i don't even know the actual use for the $rootPath variable
This commit is contained in:
parent
4278628f46
commit
93c891a815
2 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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"]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue