mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-06 10:25:22 +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:
parent
b900c04316
commit
2ec5dc1661
3 changed files with 15 additions and 6 deletions
|
@ -18,6 +18,10 @@ const (
|
|||
|
||||
// Labels render issue's labels page
|
||||
func Labels(ctx *context.Context) {
|
||||
MustEnableIssues(ctx)
|
||||
if ctx.Written() {
|
||||
return
|
||||
}
|
||||
ctx.Data["Title"] = ctx.Tr("repo.labels")
|
||||
ctx.Data["PageIsIssueList"] = true
|
||||
ctx.Data["PageIsLabels"] = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue