mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 12:59:11 -05:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue