summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2016-11-27 12:59:12 +0100
committerBwko <bouwko@gmail.com>2016-11-27 12:59:12 +0100
commita4ece1f22391a3602631ada5cb89797e134c4e13 (patch)
tree890425f7efaee401187306da035395effee6bf76 /routers/user
parent5efdccd1d8d8edb801e94aacee311929cae1af8e (diff)
downloadgitea-a4ece1f22391a3602631ada5cb89797e134c4e13.tar.gz
gitea-a4ece1f22391a3602631ada5cb89797e134c4e13.zip
Fixes typos
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go2
-rw-r--r--routers/user/setting.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 5745791e48..a08fae0727 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -313,7 +313,7 @@ func Issues(ctx *context.Context) {
ctx.HTML(200, tplIssues)
}
-// ShowSSHKeys ouput all the ssh keys of user by uid
+// ShowSSHKeys output all the ssh keys of user by uid
func ShowSSHKeys(ctx *context.Context, uid int64) {
keys, err := models.ListPublicKeys(uid)
if err != nil {
diff --git a/routers/user/setting.go b/routers/user/setting.go
index 018881e8b2..1d405fba37 100644
--- a/routers/user/setting.go
+++ b/routers/user/setting.go
@@ -285,7 +285,7 @@ func SettingsEmailPost(ctx *context.Context, form auth.AddEmailForm) {
ctx.Redirect(setting.AppSubURL + "/user/settings/email")
}
-// DeleteEmail reponse for delete user's email
+// DeleteEmail response for delete user's email
func DeleteEmail(ctx *context.Context) {
if err := models.DeleteEmailAddress(&models.EmailAddress{ID: ctx.QueryInt64("id")}); err != nil {
ctx.Handle(500, "DeleteEmail", err)