mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
Fix fmt errors (#2544)
This commit is contained in:
parent
23645fe05f
commit
a1ed239bf2
1 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) {
|
||||||
)
|
)
|
||||||
ctx.Redirect(redirectPath)
|
ctx.Redirect(redirectPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
// RepoIDAssignment returns an macaron handler which assigns the repo to the context.
|
// RepoIDAssignment returns an macaron handler which assigns the repo to the context.
|
||||||
func RepoIDAssignment() macaron.Handler {
|
func RepoIDAssignment() macaron.Handler {
|
||||||
return func(ctx *Context) {
|
return func(ctx *Context) {
|
||||||
|
|
Loading…
Reference in a new issue