mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
PHRAS-2327_report_refacto_41
This commit is contained in:
@@ -58,20 +58,27 @@ class ProdReportControllerProvider implements ControllerProviderInterface, Servi
|
||||
public function connect(Application $app)
|
||||
{
|
||||
$controllers = $this->createAuthenticatedCollection($app);
|
||||
|
||||
$controllers
|
||||
->get('/', 'controller.prod.report:indexAction')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/connections/{sbasId}/', 'controller.prod.report:connectionsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_connections')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/downloads/{sbasId}/', 'controller.prod.report:downloadsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_downloads')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/records/{sbasId}/', 'controller.prod.report:recordsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_records')
|
||||
;
|
||||
|
||||
return $controllers;
|
||||
|
Reference in New Issue
Block a user