aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/notice.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 17:27:57 -0400
committerUnknwon <u@gogs.io>2017-04-06 17:27:57 -0400
commit90b9f7e08ca2e027cc587199537aa653ddd94d91 (patch)
tree0dbd625cd1eb929250befa07f18a0517ae23a5d1 /routers/admin/notice.go
parent2c404daca612b43bd6b0b720d3e732d9550c0eab (diff)
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
Diffstat (limited to 'routers/admin/notice.go')
-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 4041a0fc..37f120bc 100644
--- a/routers/admin/notice.go
+++ b/routers/admin/notice.go
@@ -68,5 +68,5 @@ func EmptyNotices(ctx *context.Context) {
log.Trace("System notices deleted by admin (%s): [start: %d]", ctx.User.Name, 0)
ctx.Flash.Success(ctx.Tr("admin.notices.delete_success"))
- ctx.Redirect(setting.AppSubUrl + "/admin/notices")
+ ctx.Redirect(setting.AppSubURL + "/admin/notices")
}