From a8d8e7256249cb280b39d114dd6d6eadd4fec187 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Thu, 13 Mar 2014 14:08:49 +0800 Subject: single repository setting page ui --- web.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web.go') diff --git a/web.go b/web.go index 8e5bbaef..f8d85562 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) -- cgit v1.2.3