mirror of
				https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
				synced 2025-10-31 17:18:59 +00: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