1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

remember page number when delete repo

This commit is contained in:
Unknwon
2015-12-05 17:49:46 -05:00
parent ca8ce793d1
commit 89244b74c6
2 changed files with 2 additions and 2 deletions

View File

@@ -56,6 +56,6 @@ func DeleteRepo(ctx *middleware.Context) {
ctx.Flash.Success(ctx.Tr("repo.settings.deletion_success"))
ctx.JSON(200, map[string]interface{}{
"redirect": setting.AppSubUrl + "/admin/repos",
"redirect": setting.AppSubUrl + "/admin/repos?page=" + ctx.Query("page"),
})
}