Skip to content

Commit

Permalink
move route
Browse files Browse the repository at this point in the history
  • Loading branch information
eletallbetagouv committed Feb 11, 2025
1 parent 6bbe4ed commit 82c85b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/loader/SignalConsoApplicationLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,11 @@ class SignalConsoComponents(
emailValidationController,
ratingController,
constantController,
reportFileController,
reportListController,
bookmarkController,
asyncFileController,
eventsController,
reportFileController,
adminController,
companyAccessController,
statisticController,
Expand Down
5 changes: 3 additions & 2 deletions conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ POST /api/email-validation/check-and-validate controller
POST /api/rating controllers.RatingController.rateBlockingInfoInSubcategoryUsefulness()
# egalement utilisé dans le dashboard
GET /api/constants/countries controllers.ConstantController.getCountries()
# for direct download of a single attachment
# egalement utilisé dans le dashboard
GET /api/reports/files/:uuid/:filename controllers.ReportFileController.downloadReportFile(uuid: ReportFileId, filename)


###########################################
Expand Down Expand Up @@ -67,8 +70,6 @@ POST /api/reports/:uuid/assign/:userId controller

# button "download all attachments"
GET /api/reports/:uuid/files controllers.ReportFileController.downloadAllFilesAsZip(uuid: java.util.UUID, origin: Option[ReportFileOrigin])
# for direct download of a single attachment
GET /api/reports/files/:uuid/:filename controllers.ReportFileController.downloadReportFile(uuid: ReportFileId, filename)
# for deletion of a single attachment
DELETE /api/reports/files/:uuid/:filename controllers.ReportFileController.deleteReportFile(uuid: ReportFileId, filename)
# for adding a single attachment (for both pro and admin)
Expand Down

0 comments on commit 82c85b4

Please sign in to comment.