aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 12:16:51 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 12:16:51 +0800
commit555c8f1d919eae951bf7f75f4bc6a150ec04b9a6 (patch)
treeba7626e08bbb06ea4261bf6b41fcd1b82369d3ee /web.go
parent4fff38856e784cb1c2c8115a7c7e013f42f7d8d8 (diff)
parent9b845c11150102894a8bb453d86a335a7c2a64b8 (diff)
downloadgitea-555c8f1d919eae951bf7f75f4bc6a150ec04b9a6.tar.gz
gitea-555c8f1d919eae951bf7f75f4bc6a150ec04b9a6.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/web.go b/web.go
index c204131662..c8b7ed0d49 100644
--- a/web.go
+++ b/web.go
@@ -70,6 +70,8 @@ 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)