mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-15 09:58:28 -07:00
Fix fmt errors (#2544)
This commit is contained in:
parent
23645fe05f
commit
a1ed239bf2
@ -171,11 +171,12 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) {
|
||||
)
|
||||
ctx.Redirect(redirectPath)
|
||||
}
|
||||
|
||||
// RepoIDAssignment returns an macaron handler which assigns the repo to the context.
|
||||
func RepoIDAssignment() macaron.Handler {
|
||||
return func(ctx *Context) {
|
||||
var (
|
||||
err error
|
||||
err error
|
||||
)
|
||||
|
||||
repoID := ctx.ParamsInt64(":repoid")
|
||||
|
Loading…
Reference in New Issue
Block a user