|
|
@@ -508,7 +508,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Group("", func() { |
|
|
|
m.Get("/:username", user.Profile) |
|
|
|
m.Get("/attachments/:uuid", repo.GetAttachment) |
|
|
|
}, ignSignIn) |
|
|
|
}, reqSignIn) |
|
|
|
|
|
|
|
m.Group("/attachments", func() { |
|
|
|
m.Post("", repo.UploadAttachment) |
|
|
|