diff --git a/routers/routes/routes.go b/routers/routes/routes.go index b14cf22f7..17974aa3f 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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)