Commit f8fa29efe5107297e84b9b434a3a9a50ee3a64bb

Authored by Alex Savenko
2 parents 84495a76 8583a5ba

Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena

Showing 1 changed file with 10 additions and 0 deletions   Show diff stats
www-backend/index.php
@@ -1119,6 +1119,16 @@ try @@ -1119,6 +1119,16 @@ try
1119 ) 1119 )
1120 ->setName('discount_delete'); 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 $router->add 1134 $router->add