Update to the latest silex API

This commit is contained in:
Romain Neutron
2012-06-19 16:46:50 +02:00
parent 4bc55c0611
commit 4c7463cf29
30 changed files with 30 additions and 32 deletions

View File

@@ -27,7 +27,7 @@ class PathFileTest implements ControllerProviderInterface
public function connect(Application $app)
{
$controllers = new ControllerCollection();
$controllers = $app['controllers_factory'];
$controllers->get('/path/', function() use ($app) {
$path = $app['request']->get('path');