From c65004cb26d61969a90045b75504c1c14c21d550 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 20 Dec 2016 17:30:32 +0200 Subject: [PATCH] add/edit --- www-backend/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-backend/index.php b/www-backend/index.php index c5a6262..bb7b55d 100644 --- a/www-backend/index.php +++ b/www-backend/index.php @@ -1101,7 +1101,7 @@ try $router->add ( - '/discount_update', + '/discount_update/{id:[0-9]+}', [ 'controller' => 'discount', 'action' => 'update' @@ -1111,7 +1111,7 @@ try $router->add ( - '/discount_delete', + '/discount_delete/{id:[0-9]+}', [ 'controller' => 'discount', 'action' => 'delete' -- libgit2 0.21.4