diff options
author | Unknwon <u@gogs.io> | 2015-12-05 17:49:46 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-05 17:49:46 -0500 |
commit | 89244b74c61495c50ae071c203a2a2a0d078aa00 (patch) | |
tree | 4d50767f11252113773046e89b1ad74b6ab70eba /routers/admin/repos.go | |
parent | ca8ce793d15b3991eb4766939e9a0a7cf086fa6f (diff) | |
download | gitea-89244b74c61495c50ae071c203a2a2a0d078aa00.tar.gz gitea-89244b74c61495c50ae071c203a2a2a0d078aa00.zip |
remember page number when delete repo
Diffstat (limited to 'routers/admin/repos.go')
-rw-r--r-- | routers/admin/repos.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go index 62e5b5c6e1..a16a9adec6 100644 --- a/routers/admin/repos.go +++ b/routers/admin/repos.go @@ -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"), }) } |