mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Add feed repository as a service
This commit is contained in:
@@ -34,7 +34,7 @@ class Publications implements ControllerProviderInterface
|
||||
});
|
||||
|
||||
$controllers->get('/list/', function (PhraseaApplication $app) {
|
||||
$feeds = $app['EM']->getRepository('Phraseanet:Feed')->getAllForUser(
|
||||
$feeds = $app['repo.feeds']->getAllForUser(
|
||||
$app['acl']->get($app['authentication']->getUser())
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user