Commit 8583a5ba4f8f3361cd0246f6558d21d4a56916be
1 parent
ba2e8a5f
status
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
www-backend/index.php
... | ... | @@ -1119,6 +1119,16 @@ try |
1119 | 1119 | ) |
1120 | 1120 | ->setName('discount_delete'); |
1121 | 1121 | |
1122 | + $router->add | |
1123 | + ( | |
1124 | + '/discount_switch/{id:[0-9]+}', | |
1125 | + [ | |
1126 | + 'controller' => 'discount', | |
1127 | + 'action' => 'switch' | |
1128 | + ] | |
1129 | + ) | |
1130 | + ->setName('discount_switch'); | |
1131 | + | |
1122 | 1132 | /* *************************************** */ |
1123 | 1133 | |
1124 | 1134 | $router->add | ... | ... |