diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-30 23:48:01 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-30 23:48:01 -0400 |
commit | 49dc57e3368c6b6557520b671c9f1c3b4fe26db8 (patch) | |
tree | 8ca5d226ed52fc4600e16efeb6a027523beb2bf6 /web.go | |
parent | de46c06d2ef10c580015cabed67ae8eb17667605 (diff) | |
download | gitea-49dc57e3368c6b6557520b671c9f1c3b4fe26db8.tar.gz gitea-49dc57e3368c6b6557520b671c9f1c3b4fe26db8.zip |
Add /api/v1/users/search
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -75,7 +75,11 @@ func runWeb(*cli.Context) { m.Get("/help", routers.Help) m.Group("/api/v1", func(r martini.Router) { + // Miscellaneous. r.Post("/markdown", v1.Markdown) + + // Users. + r.Get("/users/search", v1.SearchUser) }) avt := avatar.CacheServer("public/img/avatar/", "public/img/avatar_default.jpg") |