From 8583a5ba4f8f3361cd0246f6558d21d4a56916be Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2016 11:52:40 +0200 Subject: [PATCH] status --- www-backend/index.php | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/www-backend/index.php b/www-backend/index.php index bb7b55d..25418d4 100644 --- a/www-backend/index.php +++ b/www-backend/index.php @@ -1119,6 +1119,16 @@ try ) ->setName('discount_delete'); + $router->add + ( + '/discount_switch/{id:[0-9]+}', + [ + 'controller' => 'discount', + 'action' => 'switch' + ] + ) + ->setName('discount_switch'); + /* *************************************** */ $router->add -- libgit2 0.21.4