Implemented product list

This commit is contained in:
Kevin Frantz
2018-07-14 23:14:06 +02:00
parent 560c70de38
commit 1bc7219caa
17 changed files with 92 additions and 50 deletions

View File

@@ -50,7 +50,7 @@ final class Router implements RouterInterface
return $userController->register();
}
case 'product':
$productController = new Product();
$productController = new Product($this->core);
switch ($this->get['action']) {
case 'list':
return $productController->list();