aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 14:08:49 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 14:08:49 +0800
commita8d8e7256249cb280b39d114dd6d6eadd4fec187 (patch)
tree453006dbb24bbe88da2c76c4e00017daf6aa2f28 /web.go
parent3005a0f13e8861c79e3ea84ce480124fbc3c181d (diff)
downloadgitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.tar.gz
gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.zip
single repository setting page ui
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 8e5bbaef0f..f8d85562f7 100644
--- a/web.go
+++ b/web.go
@@ -74,6 +74,8 @@ func runWeb(*cli.Context) {
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)
+
+ m.Get("/:username/:reponame/settings", auth.SignInRequire(false), auth.RepoAssignment(true), repo.Setting)
m.Get("/:username/:reponame", auth.SignInRequire(false), auth.RepoAssignment(true), repo.Single)
//m.Get("/:username/:reponame", repo.Repo)