aboutsummaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-12 12:32:40 -0500
committerUnknwon <u@gogs.io>2015-11-12 12:32:40 -0500
commit10427b217804486a9964129ee7a509d157987fe6 (patch)
treeb4fd977c688f0eb30e2ca8200edb9a6f4f5938a8 /routers/admin
parent020fb43b775eff2cf60360be61554124d9b1b9dc (diff)
downloadgitea-10427b217804486a9964129ee7a509d157987fe6.tar.gz
gitea-10427b217804486a9964129ee7a509d157987fe6.zip
fix #1930
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/notice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/notice.go b/routers/admin/notice.go
index 512c3f5993..b076994d01 100644
--- a/routers/admin/notice.go
+++ b/routers/admin/notice.go
@@ -49,5 +49,5 @@ func DeleteNotice(ctx *middleware.Context) {
}
log.Trace("System notice deleted by admin(%s): %d", ctx.User.Name, id)
ctx.Flash.Success(ctx.Tr("admin.notices.delete_success"))
- ctx.Redirect("/admin/notices")
+ ctx.Redirect(setting.AppSubUrl + "/admin/notices")
}