summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-12 20:22:35 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-12 20:22:35 -0400
commitc117f9e73f148468c624f31be237af7a691533a0 (patch)
treebf1188d2f6f2df4d58f410d9e52ca33c9dfee302 /cmd
parentf979d0d6b9ae2c4b5c553df13dfe49b81d8396c1 (diff)
downloadgitea-c117f9e73f148468c624f31be237af7a691533a0.tar.gz
gitea-c117f9e73f148468c624f31be237af7a691533a0.zip
Fix #166
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index b8cfc5a4f5..c343566d70 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -210,6 +210,7 @@ func runWeb(*cli.Context) {
r.Get("/raw/:branchname/**", repo.SingleDownload)
r.Get("/commits/:branchname", repo.Commits)
r.Get("/commits/:branchname/search", repo.SearchCommits)
+ r.Get("/commits/:branchname/**", repo.FileHistory)
r.Get("/commit/:branchname", repo.Diff)
r.Get("/commit/:branchname/**", repo.Diff)
r.Get("/releases", repo.Releases)