aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/issue_stopwatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/issue_stopwatch.go')
-rw-r--r--routers/web/repo/issue_stopwatch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/repo/issue_stopwatch.go b/routers/web/repo/issue_stopwatch.go
index d2a7a12a1f..3d20b08b49 100644
--- a/routers/web/repo/issue_stopwatch.go
+++ b/routers/web/repo/issue_stopwatch.go
@@ -40,7 +40,7 @@ func IssueStopwatch(c *context.Context) {
c.Flash.Success(c.Tr("repo.issues.tracker_auto_close"))
}
- url := issue.HTMLURL()
+ url := issue.Link()
c.Redirect(url, http.StatusSeeOther)
}
@@ -72,7 +72,7 @@ func CancelStopwatch(c *context.Context) {
})
}
- url := issue.HTMLURL()
+ url := issue.Link()
c.Redirect(url, http.StatusSeeOther)
}