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