]> git.agnieray.net Git - galette.git/blobdiff - galette/includes/routes/contributions.routes.php
More precise download link
[galette.git] / galette / includes / routes / contributions.routes.php
index a9e92b6037b1e08df20bb4e1d149f7382b982207..6754ede630cdb03b1c2850f4a5ccbf1a60b51a1c 100644 (file)
@@ -125,12 +125,12 @@ $app->get(
 )->setName('printContribution')->add($authenticate);
 
 $app->get(
-    '/document/{hash}',
+    '/document/download/{hash}',
     [GaletteController::class, 'documentLink']
 )->setName('directlink');
 
 $app->post(
-    '/document/{hash}',
+    '/document/download/{hash}',
     [PdfController::class, 'directlinkDocument']
 )->setName('get-directlink');