]> _ Git - cubist_cms-back.git/commitdiff
fix #3173 @4
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 4 Nov 2019 15:38:43 +0000 (16:38 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 4 Nov 2019 15:38:43 +0000 (16:38 +0100)
src/app/CubistCrudRouter.php

index e2ca24a73a5b95b82229973784151f163d4815ca..212f462e64ea9986b7abf1a17b1de7b35280d867 100644 (file)
@@ -28,8 +28,8 @@ class CubistCrudRouter extends CrudRouter
             'uses' => $this->controller . '@bulkTranslationsReplace',
         ]);
 
-        Route::match(['post'], $this->name . '/{id}/media', $this->controller . 'CrudController@uploadMedia');
-        Route::match(['delete'], $this->name . '/{id}/media/{mediaId}', $this->controller . 'CrudController@deleteMedia');
-        Route::match(['post'], $this->name . '/{id}/media/reorder', $this->controller . 'CrudController@reorderMedia');
+        Route::match(['post'], $this->name . '/{id}/media', $this->controller . '@uploadMedia');
+        Route::match(['delete'], $this->name . '/{id}/media/{mediaId}', $this->controller . '@deleteMedia');
+        Route::match(['post'], $this->name . '/{id}/media/reorder', $this->controller . '@reorderMedia');
     }
 }