diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 1e8dba06f..cf5cff3ed 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -515,6 +515,9 @@ func RegisterRoutes(m *macaron.Macaron) { m.Group("", func() { m.Get("/:username", user.Profile) + }, ignSignIn) + + m.Group("", func() { m.Get("/attachments/:uuid", repo.GetAttachment) }, reqSignIn)