From 992951dddae6ad16a408d85d2c4dea939108b885 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 4 Nov 2019 16:38:43 +0100 Subject: [PATCH] fix #3173 @4 --- src/app/CubistCrudRouter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'); } } -- 2.39.5