mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Update to the latest silex API
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user