]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 31 May 2019 15:29:49 +0000 (17:29 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 31 May 2019 15:29:49 +0000 (17:29 +0200)
src/app/Magic/Controllers/CubistMagicController.php
src/app/Magic/Controllers/CubistMagicControllerTrait.php
src/app/Magic/Controllers/CubistMagicNestedController.php

index 29df5551dea8f6c82a053e5fc2e8060641fa60da..3cb4f25cd3bf4473e49c9002fdd5c535ad033509 100644 (file)
@@ -15,7 +15,7 @@ class CubistMagicController extends CrudController
     protected $_singular;
     protected $_plural;
 
-    public function _afterSetModel(){
+    public function _postSetModel(){
 
     }
 }
index fb5f8a01f79bae187e5edb314a70a7d7e1f78fbb..b5b8fdf9648538803f4c0947321ef5e85ab8d7c6 100644 (file)
@@ -24,7 +24,7 @@ trait CubistMagicControllerTrait
         |--------------------------------------------------------------------------
         */
         $this->crud->setModel($this->_modelNamespace);
-        $this->_afterSetModel();
+        $this->_postSetModel();
         $this->crud->setRoute(config('backpack.base.route_prefix') . '/' . $this->_routeURL);
         $this->crud->setEntityNameStrings($this->_singular, $this->_plural);
 
index 54ee64a0415c025398ad2f873a0a004f161f738b..367ad89f9706f31b6e637dc0542c09a4ab29e73f 100644 (file)
@@ -15,7 +15,7 @@ class CubistMagicNestedController extends NestedModelsCrudController
     protected $_singular;
     protected $_plural;
 
-    public function _afterSetModel(){
+    public function _postSetModel(){
         $this->treeSetup();
     }
 }