From: Vincent Vanwaelscappel Date: Mon, 4 Nov 2019 15:38:43 +0000 (+0100) Subject: fix #3173 @4 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=992951dddae6ad16a408d85d2c4dea939108b885;p=cubist_cms-back.git fix #3173 @4 --- diff --git a/src/app/CubistCrudRouter.php b/src/app/CubistCrudRouter.php index e2ca24a..212f462 100644 --- a/src/app/CubistCrudRouter.php +++ b/src/app/CubistCrudRouter.php @@ -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'); } }