From 1fc97a767dd9c0a19fedaeb1f9da57ca9ba4bc27 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 15 Dec 2011 11:58:57 +0100 Subject: [PATCH] Add Basket controller to Prod application --- lib/classes/module/Prod.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/classes/module/Prod.php b/lib/classes/module/Prod.php index 04a5d87708..22658394fc 100644 --- a/lib/classes/module/Prod.php +++ b/lib/classes/module/Prod.php @@ -26,7 +26,9 @@ return call_user_func(function() $twig = new \supertwig(); $app = new Application(); + $app['Kernel'] = bootstrap::getKernel(); + $app->mount('/baskets', new Controller\Basket()); $app->mount('/records/edit', new Controller\Edit()); $app->mount('/records/movecollection', new Controller\MoveCollection()); $app->mount('/bridge/', new Controller\Bridge());