From: Vincent Vanwaelscappel Date: Fri, 17 Sep 2021 11:20:58 +0000 (+0200) Subject: wip #4666 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=61e0018a4e3df006053a231e0a1aa1f918edecb3;p=cubist_cms-back.git wip #4666 --- diff --git a/composer.json b/composer.json index d84bc24..a187e52 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "ext-dom": "*", "ext-libxml": "*", "ext-json": "*", - "backpack/crud": "^4.1.51", + "backpack/crud": "^4.1.53", "backpack/backupmanager": "^3.0", "backpack/logmanager": "^4.0", "backpack/permissionmanager": "^6.0", @@ -49,7 +49,7 @@ "digitallyhappy/toggle-field-for-backpack": "^2.0", "calebporzio/parental": "^v0.11", "cache/filesystem-adapter": "^1.1", - "laravel/framework": "^v8.58" + "laravel/framework": "^v8.61" }, "require-dev": { "filp/whoops": "^2.14", diff --git a/src/app/Magic/Controllers/CubistMagicController.php b/src/app/Magic/Controllers/CubistMagicController.php index b8196e0..89896e7 100644 --- a/src/app/Magic/Controllers/CubistMagicController.php +++ b/src/app/Magic/Controllers/CubistMagicController.php @@ -233,7 +233,7 @@ class CubistMagicController extends CubistCrudController public function index() { if ($this->_oneInstance) { - return Redirect::to('admin/' . $this->_routeURL . '/1/edit'); + return Redirect::to(backpack_url( $this->_routeURL . '/1/edit') ); } return parent::index(); }