summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 756d76c0f7..1fee7adbd5 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -143,7 +143,7 @@ func Dashboard(ctx *middleware.Context) {
} else {
ctx.Flash.Success(success)
}
- ctx.Redirect("/admin")
+ ctx.Redirect(setting.AppRootSubUrl + "/admin")
return
}