Skip to content

Commit

Permalink
Rename routes to fix routes order conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
eletallbetagouv committed Jan 30, 2025
1 parent f2949d2 commit 14796de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ POST /api/reports/:uuid/assign/:userId controller
########################################################################

# button "download all attachments"
GET /api/reports/files controllers.ReportFileController.downloadZip(reportId: java.util.UUID, origin : Option[ReportFileOrigin])
GET /api/reports/:uuid/files controllers.ReportFileController.downloadZip(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
Expand Down Expand Up @@ -131,8 +131,8 @@ GET /api/stats/dgccrf-active-account controller
GET /api/stats/dgccrf-subscriptions controllers.StatisticController.dgccrfSubscription(ticks: Option[Int])
GET /api/stats/dgccrf-controls controllers.StatisticController.dgccrfControlsCurve(ticks: Option[Int])
# tab "Signalements par sous-categories"
GET /api/reports/count-by-subcategories controllers.StatisticController.reportsCountBySubcategories()
GET /api/reports/count-by-subcategories/download controllers.StatisticController.downloadReportsCountBySubcategories(lang: String)
GET /api/stats/reports/count-by-subcategories controllers.StatisticController.reportsCountBySubcategories()
GET /api/stats/reports/count-by-subcategories/download controllers.StatisticController.downloadReportsCountBySubcategories(lang: String)

#####################################
########## PAGE "OUTILS" ############
Expand Down

0 comments on commit 14796de

Please sign in to comment.