From 90b9f7e08ca2e027cc587199537aa653ddd94d91 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 6 Apr 2017 17:27:57 -0400 Subject: pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL} --- routers/admin/notice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/admin/notice.go') 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") } -- cgit v1.2.3