forked from forgejo/forgejo
add issue router for new issue page ui preview
This commit is contained in:
parent
e3a27aeb25
commit
7d48f811f1
3 changed files with 13 additions and 0 deletions
|
@ -1119,3 +1119,9 @@ func IssueGetAttachment(ctx *middleware.Context) {
|
|||
// We must put the name in " manually.
|
||||
ctx.ServeFile(attachment.Path, "\""+attachment.Name+"\"")
|
||||
}
|
||||
|
||||
// testing route handler for new issue ui page
|
||||
// todo : move to Issue() function
|
||||
func Issues2(ctx *middleware.Context){
|
||||
ctx.HTML(200,"repo/issue2/list")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue