mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-2350_report_method_fix
This commit is contained in:
@@ -60,25 +60,24 @@ class ProdReportControllerProvider implements ControllerProviderInterface, Servi
|
||||
$controllers = $this->createAuthenticatedCollection($app);
|
||||
|
||||
$controllers
|
||||
->get('/', 'controller.prod.report:indexAction')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/connections/{sbasId}/', 'controller.prod.report:connectionsAction')
|
||||
->match('/connections/{sbasId}/', 'controller.prod.report:connectionsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_connections')
|
||||
->method('GET|POST')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/downloads/{sbasId}/', 'controller.prod.report:downloadsAction')
|
||||
->match('/downloads/{sbasId}/', 'controller.prod.report:downloadsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_downloads')
|
||||
->method('GET|POST')
|
||||
;
|
||||
|
||||
$controllers
|
||||
->get('/records/{sbasId}/', 'controller.prod.report:recordsAction')
|
||||
->match('/records/{sbasId}/', 'controller.prod.report:recordsAction')
|
||||
->assert('sbasId', '\d+')
|
||||
->bind('report2_records')
|
||||
->method('GET|POST')
|
||||
;
|
||||
|
||||
return $controllers;
|
||||
|
Reference in New Issue
Block a user