aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-08 21:25:38 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-08 21:25:38 -0500
commit76ce6f98487b3754992da18969df37560e49ee82 (patch)
tree834ab9c155d06a3fba6b23831bcde24d3b8f951b /web.go
parent5a05d6633d413b1c5182a0a542e173f99601a103 (diff)
downloadgitea-76ce6f98487b3754992da18969df37560e49ee82.tar.gz
gitea-76ce6f98487b3754992da18969df37560e49ee82.zip
Update repo.Create
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web.go b/web.go
index 2b6041b123..1b61ca0e1b 100644
--- a/web.go
+++ b/web.go
@@ -69,7 +69,7 @@ func runWeb(*cli.Context) {
m.Any("/user/publickey/add", auth.SignInRequire(true), user.AddPublicKey)
m.Any("/user/publickey/list", auth.SignInRequire(true), user.ListPublicKey)
- m.Any("/repo/create", auth.SignInRequire(true), repo.Create)
+ m.Any("/repo/create", auth.SignInRequire(true), binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create)
m.Any("/repo/delete", auth.SignInRequire(true), repo.Delete)
m.Any("/repo/list", auth.SignInRequire(false), repo.List)