mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Change DispatcherAware to accept concrete instances
Dispatcher is already instanciated when invoking controller. So useless to lazy load it.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
namespace Alchemy\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Application\Helper\DispatcherAware;
|
||||
use Alchemy\Phrasea\Application\Helper\FirewallAware;
|
||||
use Alchemy\Phrasea\Controller\Controller;
|
||||
use Alchemy\Phrasea\Controller\RecordsRequest;
|
||||
@@ -26,6 +27,7 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
|
||||
|
||||
class FeedController extends Controller
|
||||
{
|
||||
use DispatcherAware;
|
||||
use FirewallAware;
|
||||
|
||||
public function publishRecordsAction(Application $app, Request $request)
|
||||
|
Reference in New Issue
Block a user