mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-09-10 11:57:12 +02:00
Implemented product list
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user