Procházet zdrojové kódy

Final Commit

master
Lennart Verschelden před 2 roky
rodič
revize
2108b831f0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      public/index.php

+ 1
- 1
public/index.php Zobrazit soubor

@@ -45,7 +45,7 @@ $app->map(['GET', 'POST'], "/orders/{client}/create", \Shop\Controller\ClientCre
// };
// });

// Route with optional params, see https://www.slimframework.com/docs/v4/objects/routing.html#how-to-create-routes section Optional segments
// Route with optional parameters, see https://www.slimframework.com/docs/v4/objects/routing.html#how-to-create-routes section Optional segments
$app->get('/orders[/{client}]', \Shop\Controller\Orders::class . ':getOrders');
// $app->get('/orders[/{client}]', function (Request $request, Response $response, array $args) {
// $db = new Orders();

Načítá se…
Zrušit
Uložit