summaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-15 21:28:12 -0400
committerUnknwon <u@gogs.io>2015-10-15 21:28:12 -0400
commit932dbccb6738b2894e4faafce4f834ef6803efc6 (patch)
tree14cd0a6cbce5906ce394491bd00e1f790be1dcc7 /routers/user/home.go
parenta749e6adcf97d21e8fd64cdf92de52a1ada68f6d (diff)
downloadgitea-932dbccb6738b2894e4faafce4f834ef6803efc6.tar.gz
gitea-932dbccb6738b2894e4faafce4f834ef6803efc6.zip
fix import path, fix #1782
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 8008889d49..581bb0633c 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -299,7 +299,7 @@ func ShowSSHKeys(ctx *middleware.Context, uid int64) {
buf.WriteString(keys[i].OmitEmail())
buf.WriteString("\n")
}
- ctx.RenderData(200, buf.Bytes())
+ ctx.PlainText(200, buf.Bytes())
}
func Profile(ctx *middleware.Context) {