Browse Source

mod ignSignIn to reqSignIn for get attachments

master
e 5 years ago
parent
commit
c397010e07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -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)


Loading…
Cancel
Save