mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
UI: issues - finish basic frame
This commit is contained in:
parent
548b95f7b5
commit
4447a20f87
38 changed files with 515 additions and 239 deletions
|
@ -374,7 +374,13 @@ func Action(ctx *middleware.Context) {
|
|||
})
|
||||
return
|
||||
}
|
||||
ctx.Redirect(ctx.Repo.RepoLink)
|
||||
|
||||
redirectTo := ctx.Query("redirect_to")
|
||||
if len(redirectTo) == 0 {
|
||||
redirectTo = ctx.Repo.RepoLink
|
||||
}
|
||||
ctx.Redirect(redirectTo)
|
||||
|
||||
return
|
||||
ctx.JSON(200, map[string]interface{}{
|
||||
"ok": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue