Fix fmt errors (#2544)

This commit is contained in:
Ethan Koenig 2017-09-19 04:44:49 -07:00 committed by Lunny Xiao
parent 23645fe05f
commit a1ed239bf2

View File

@ -171,6 +171,7 @@ 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) {