aboutsummaryrefslogtreecommitdiff
path: root/routes/repo/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/repo/commit.go')
-rw-r--r--routes/repo/commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/repo/commit.go b/routes/repo/commit.go
index 17ea5dbe..9069f44e 100644
--- a/routes/repo/commit.go
+++ b/routes/repo/commit.go
@@ -45,6 +45,7 @@ func RenderIssueLinks(oldCommits *list.List, repoLink string) *list.List {
func renderCommits(c *context.Context, filename string) {
c.Data["Title"] = c.Tr("repo.commits.commit_history") + " ยท " + c.Repo.Repository.FullName()
c.Data["PageIsCommits"] = true
+ c.Data["FileName"] = filename
page := c.QueryInt("page")
if page < 1 {