From: Vincent Vanwaelscappel Date: Wed, 22 May 2019 14:39:19 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=eb32a8c381f1a955b062595be7ce2ceffa5c7dfb;p=cubist_cms-back.git #2783 --- diff --git a/src/routes/cubist/backpack/model.php b/src/routes/cubist/backpack/model.php deleted file mode 100644 index 112a174..0000000 --- a/src/routes/cubist/backpack/model.php +++ /dev/null @@ -1,15 +0,0 @@ -with(function () { - Route::any('model/ajax/{mode?}', 'CubistModelFieldCrudController@handleAjaxRequest'); -}); - - -Route::group([ - 'prefix' => config('backpack.base.route_prefix', 'admin'), - 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], - 'namespace' => 'Cubist\Backpack\app\Http\Controllers', -], function () { // custom admin routes - CRUD::resource('model', 'CubistModelCrudController'); - CRUD::resource('model', 'CubistModelCrudController'); -}); // this should be the absolute last line of this file - diff --git a/src/routes/cubist/backpack/modelfield.php b/src/routes/cubist/backpack/modelfield.php deleted file mode 100644 index 472a2ea..0000000 --- a/src/routes/cubist/backpack/modelfield.php +++ /dev/null @@ -1,5 +0,0 @@ -with(function () { - Route::any('modelfield/ajax/{mode?}', 'ModelFieldCrudController@handleAjaxRequest'); -});