mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 21:03:56 +01: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