Browse Source

Merge pull request 'view public org' (#167) from org-public into develop

Reviewed-by: 史梦园 <1729788216@qq.com>
master
yuyuanshifu 4 years ago
parent
commit
db8be58a79
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      routers/routes/routes.go

+ 3
- 0
routers/routes/routes.go View File

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




Loading…
Cancel
Save