mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
finish create issue attachment UI
This commit is contained in:
parent
17f3e840ec
commit
89c2bd4a0d
12 changed files with 2198 additions and 7 deletions
|
@ -325,7 +325,10 @@ func runWeb(ctx *cli.Context) {
|
|||
})
|
||||
}, adminReq)
|
||||
|
||||
m.Get("/:username", ignSignIn, user.Profile)
|
||||
m.Group("", func() {
|
||||
m.Get("/:username", user.Profile)
|
||||
m.Post("/attachments", repo.UploadAttachment)
|
||||
}, ignSignIn)
|
||||
|
||||
if macaron.Env == macaron.DEV {
|
||||
m.Get("/template/*", dev.TemplatePreview)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue