aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorMichael Boke <michael@mbict.nl>2014-10-03 22:51:07 +0200
committerMichael Boke <michael@mbict.nl>2014-10-03 22:51:07 +0200
commitba1270df2d3d835b397317f133963e7b517242f1 (patch)
tree1265a142a1fd9951d30ae11648e7fbfb5806e594 /routers/admin/admin.go
parentba0feadc34400cb91ff23f66096884d862651cdd (diff)
parent405ee14711ab946bd709ec28a526890c40cbc03b (diff)
Merge remote-tracking branch 'upstream/master'
Conflicts: conf/app.ini
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 756d76c0..6f2966bc 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.AppSubUrl + "/admin")
return
}