aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user/setting/profile.go
diff options
context:
space:
mode:
authorDavid Schneiderbauer <daviian@users.noreply.github.com>2018-06-18 20:24:45 +0200
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-06-18 14:24:45 -0400
commit69bfd81b1cc4b95d6bc49e7b027d2e5ff03167a5 (patch)
treeeafbcecfa86dd1e636dbbfcfbb3ed54c83e91027 /routers/user/setting/profile.go
parent6e39f3d422155293a06df6430766a40ebc56277c (diff)
downloadgitea-69bfd81b1cc4b95d6bc49e7b027d2e5ff03167a5.tar.gz
gitea-69bfd81b1cc4b95d6bc49e7b027d2e5ff03167a5.zip
fix missing data on redirects (#3975)
Diffstat (limited to 'routers/user/setting/profile.go')
-rw-r--r--routers/user/setting/profile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/user/setting/profile.go b/routers/user/setting/profile.go
index cf222d0027..22511ab891 100644
--- a/routers/user/setting/profile.go
+++ b/routers/user/setting/profile.go
@@ -32,6 +32,7 @@ const (
func Profile(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["PageIsSettingsProfile"] = true
+
ctx.HTML(200, tplSettingsProfile)
}