diff options
Diffstat (limited to 'routers')
-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"), }) } |