aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-13 12:45:41 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-13 12:45:41 +0800
commitfecafdca2ac5884a4dbcef2b937dfc3d2bf27ef2 (patch)
tree093ffe5a79bd1a9c4d99d643d930a7a5607041da /web.go
parent555c8f1d919eae951bf7f75f4bc6a150ec04b9a6 (diff)
downloadgitea-fecafdca2ac5884a4dbcef2b937dfc3d2bf27ef2.tar.gz
gitea-fecafdca2ac5884a4dbcef2b937dfc3d2bf27ef2.zip
merge
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/web.go b/web.go
index c8b7ed0d49..c204131662 100644
--- a/web.go
+++ b/web.go
@@ -70,8 +70,6 @@ func runWeb(*cli.Context) {
m.Get("/user/:username", auth.SignInRequire(false), user.Profile)
- m.Get("/:username/:reponame", repo.Repo)
-
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)