summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-02-20 16:51:03 -0500
committerUnknown <joe2010xtmf@163.com>2014-02-20 16:51:03 -0500
commit594ec0b659c34bfb25cc4f6f686dd7839b36e00c (patch)
tree069986fd20ff3c83686ee6865ed079a38d65210d /web.go
parent104aa23a9ed5ac01377eda1e421f1f3f43163c99 (diff)
downloadgitea-594ec0b659c34bfb25cc4f6f686dd7839b36e00c.tar.gz
gitea-594ec0b659c34bfb25cc4f6f686dd7839b36e00c.zip
Add code of add public key
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index 1d36e8a178..024a80f910 100644
--- a/web.go
+++ b/web.go
@@ -51,6 +51,7 @@ func runWeb(*cli.Context) {
m.Get("/user/signin", user.SignIn)
m.Any("/user/signup", user.SignUp)
m.Any("/user/delete", user.Delete)
+ m.Any("/user/publickey/add", user.AddPublickKey)
m.Any("/repo/create", repo.Create)
m.Any("/repo/delete", repo.Delete)