summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
author无闻 <u@gogs.io>2015-07-25 00:46:39 +0800
committer无闻 <u@gogs.io>2015-07-25 00:46:39 +0800
commit333ab1b2b47e948dddb8393061985dbef1144c2f (patch)
tree6e9dbb125456694af8c9e978a34898e277fd4af7 /routers
parentd86c4841fa1763edb55a480184757e79f9b12e46 (diff)
parent73698d292a2c60cbe947efc2f62c05d8ffd88277 (diff)
downloadgitea-333ab1b2b47e948dddb8393061985dbef1144c2f.tar.gz
gitea-333ab1b2b47e948dddb8393061985dbef1144c2f.zip
Merge pull request #1317 from smcquay/keys
fix .keys route
Diffstat (limited to 'routers')
-rw-r--r--routers/user/home.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 3484e78050..ef05be27a3 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -152,6 +152,7 @@ func ShowSSHKeys(ctx *middleware.Context, uid int64) {
var buf bytes.Buffer
for i := range keys {
buf.WriteString(keys[i].OmitEmail())
+ buf.WriteString("\n")
}
ctx.RenderData(200, buf.Bytes())
}