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