|
|
|
@@ -534,7 +534,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Get("/downloadAllOpenI", repo.ServeAllProjectsOpenIStatisticsFile) |
|
|
|
m.Group("/project", func() { |
|
|
|
m.Get("", repo.GetAllProjectsPeriodStatistics) |
|
|
|
m.Post("/numVisit", repo.ProjectNumVisit) |
|
|
|
m.Get("/numVisit", repo.ProjectNumVisit) |
|
|
|
|
|
|
|
m.Group("/:id", func() { |
|
|
|
m.Get("", repo.GetProjectLatestStatistics) |
|
|
|
|