Merge pull request 'routers: Minor code cleanup in UsernameSubRoute' (#2685) from algernon/forgejo:cleanup/UsernameSubRoute into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2685 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
847d969a8f
|
@ -743,7 +743,6 @@ func UsernameSubRoute(ctx *context.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if reloadParam(".rss") {
|
if reloadParam(".rss") {
|
||||||
context.UserAssignmentWeb()(ctx)
|
|
||||||
feed.ShowUserFeedRSS(ctx)
|
feed.ShowUserFeedRSS(ctx)
|
||||||
}
|
}
|
||||||
case strings.HasSuffix(username, ".atom"):
|
case strings.HasSuffix(username, ".atom"):
|
||||||
|
|
Loading…
Reference in New Issue