diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 21:27:19 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 21:27:19 +0800 |
commit | 5e22f1437ac2466d599c242fd5e256180fa7b68e (patch) | |
tree | e3c4330ff3a48b792e4e8169f312b87e07fceb4e /web.go | |
parent | 137538e54b3aade46cf2ef947707f4e32ba8a382 (diff) | |
download | gitea-5e22f1437ac2466d599c242fd5e256180fa7b68e.tar.gz gitea-5e22f1437ac2466d599c242fd5e256180fa7b68e.zip |
diff page ui
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,8 +156,8 @@ func runWeb(*cli.Context) { }, ignSignIn, middleware.RepoAssignment(true)) // TODO: implement single commit page - // m.Get("/:username/:reponame/commit/:commitid/**", ignSignIn, middleware.RepoAssignment(true), repo.Single) - // m.Get("/:username/:reponame/commit/:commitid", ignSignIn, middleware.RepoAssignment(true), repo.Single) + m.Get("/:username/:reponame/commit/:commitid/**", ignSignIn, middleware.RepoAssignment(true), repo.Diff) + m.Get("/:username/:reponame/commit/:commitid", ignSignIn, middleware.RepoAssignment(true), repo.Diff) m.Group("/:username", func(r martini.Router) { r.Get("/:reponame", middleware.RepoAssignment(true), repo.Single) |