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