diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 14:08:49 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 14:08:49 +0800 |
commit | a8d8e7256249cb280b39d114dd6d6eadd4fec187 (patch) | |
tree | 453006dbb24bbe88da2c76c4e00017daf6aa2f28 /web.go | |
parent | 3005a0f13e8861c79e3ea84ce480124fbc3c181d (diff) | |
download | gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.tar.gz gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.zip |
single repository setting page ui
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |