From 74859010d59e88e84beaac11b4a5e172d73a1164 Mon Sep 17 00:00:00 2001
From: Lunny Xiao <xiaolunwen@gmail.com>
Date: Wed, 26 Mar 2014 14:11:49 +0800
Subject: [PATCH] bug fixed

---
 modules/base/tool.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/base/tool.go b/modules/base/tool.go
index 0dec7aa8d..4a8a124dd 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -490,7 +490,7 @@ func ActionIcon(opType int) string {
 
 const (
 	TPL_CREATE_REPO    = `<a href="/user/%s">%s</a> created repository <a href="/%s/%s">%s</a>`
-	TPL_COMMIT_REPO    = `<a href="/user/%s">%s</a> pushed to <a href="/%s/%s/tree/%s">%s</a> at <a href="/%s/%s">%s/%s</a>%s`
+	TPL_COMMIT_REPO    = `<a href="/user/%s">%s</a> pushed to <a href="/%s/%s/src/%s">%s</a> at <a href="/%s/%s">%s/%s</a>%s`
 	TPL_COMMIT_REPO_LI = `<div><img id="gogs-user-avatar-commit" src="%s?s=16" alt="user-avatar" title="username"/> <a href="/%s/%s/commit/%s">%s</a> %s</div>`
 )