]> git.agnieray.net Git - galette.git/commitdiff
More precise download link
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 9 Mar 2024 16:58:50 +0000 (17:58 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 9 Mar 2024 16:58:50 +0000 (17:58 +0100)
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');