Refactor TaskManagerController

This commit is contained in:
Benoît Burnichon
2015-04-13 19:29:51 +02:00
parent 14a62fd9e8
commit 27f1f98dbe
3 changed files with 157 additions and 95 deletions

View File

@@ -13,6 +13,7 @@ namespace Alchemy\Phrasea\Controller;
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Authentication\ACLProvider;
use Alchemy\Phrasea\Authentication\Authenticator;
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\HttpFoundation\Response;
@@ -110,4 +111,12 @@ class Controller
{
return $this->getAuthenticator()->getUser();
}
/**
* @return PropertyAccess
*/
protected function getConf()
{
return $this->app['conf'];
}
}