Commit c65004cb26d61969a90045b75504c1c14c21d550

Authored by Alex Savenko
1 parent 26d1e4f6

add/edit

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
www-backend/index.php
@@ -1101,7 +1101,7 @@ try @@ -1101,7 +1101,7 @@ try
1101 1101
1102 $router->add 1102 $router->add
1103 ( 1103 (
1104 - '/discount_update', 1104 + '/discount_update/{id:[0-9]+}',
1105 [ 1105 [
1106 'controller' => 'discount', 1106 'controller' => 'discount',
1107 'action' => 'update' 1107 'action' => 'update'
@@ -1111,7 +1111,7 @@ try @@ -1111,7 +1111,7 @@ try
1111 1111
1112 $router->add 1112 $router->add
1113 ( 1113 (
1114 - '/discount_delete', 1114 + '/discount_delete/{id:[0-9]+}',
1115 [ 1115 [
1116 'controller' => 'discount', 1116 'controller' => 'discount',
1117 'action' => 'delete' 1117 'action' => 'delete'