]> _ Git - cubist_cms-back.git/commitdiff
wip #4666
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 17 Sep 2021 11:20:58 +0000 (13:20 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 17 Sep 2021 11:20:58 +0000 (13:20 +0200)
composer.json
src/app/Magic/Controllers/CubistMagicController.php

index d84bc24164e6f8a207a232a89b2c1d79c453d82b..a187e5269cac0a8fde94b018fded8a6ef5163651 100644 (file)
@@ -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",
index b8196e0ffb2b107768b7e35a80b236e76a6bcc48..89896e7c77f14231a77501f62407c3038b5b2d03 100644 (file)
@@ -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();
     }