1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Refactor web route handler (#33488)

This commit is contained in:
wxiaoguang
2025-02-05 02:14:03 +08:00
committed by GitHub
parent d0f4e92563
commit 09a3b07f10
8 changed files with 279 additions and 293 deletions

View File

@@ -34,7 +34,7 @@ func Home(ctx *context.Context) {
}
ctx.SetPathParam("org", uname)
context.HandleOrgAssignment(ctx)
context.OrgAssignment(context.OrgAssignmentOptions{})(ctx)
if ctx.Written() {
return
}