aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-02-20 14:54:10 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-02-20 14:54:10 +0800
commitfee3bd0a93ac810c53bf083e38f3c5de61ef1065 (patch)
treec5cc92b4ea8ac326c087eb14c53d92608110e1d0 /web.go
parentb1b6def5bcb016d555e8078af404e8e2fa948748 (diff)
parent8962b39648a7ac8895b4281b428a1091c410f8f0 (diff)
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'web.go')
-rw-r--r--web.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/web.go b/web.go
index 17e7cbfe..1d36e8a1 100644
--- a/web.go
+++ b/web.go
@@ -14,6 +14,7 @@ import (
"github.com/martini-contrib/render"
"github.com/gogits/gogs/routers"
+ "github.com/gogits/gogs/routers/repo"
"github.com/gogits/gogs/routers/user"
"github.com/gogits/gogs/utils"
"github.com/gogits/gogs/utils/log"
@@ -50,6 +51,8 @@ func runWeb(*cli.Context) {
m.Get("/user/signin", user.SignIn)
m.Any("/user/signup", user.SignUp)
m.Any("/user/delete", user.Delete)
+ m.Any("/repo/create", repo.Create)
+ m.Any("/repo/delete", repo.Delete)
listenAddr := fmt.Sprintf("%s:%s",
utils.Cfg.MustValue("server", "HTTP_ADDR"),