mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-21 13:38:00 +02:00
Fix 404 for external tracking issues (#1852)
* Fix 404 for external tracking issues * Fix 404 for new/upload file
This commit is contained in:
@ -965,6 +965,10 @@ func DeleteComment(ctx *context.Context) {
|
||||
|
||||
// Milestones render milestones page
|
||||
func Milestones(ctx *context.Context) {
|
||||
MustEnableIssues(ctx)
|
||||
if ctx.Written() {
|
||||
return
|
||||
}
|
||||
ctx.Data["Title"] = ctx.Tr("repo.milestones")
|
||||
ctx.Data["PageIsIssueList"] = true
|
||||
ctx.Data["PageIsMilestones"] = true
|
||||
|
Reference in New Issue
Block a user