mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00: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:
parent
b900c04316
commit
2ec5dc1661
3 changed files with 15 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue