Browse Source

Fix fmt errors (#2544)

tags/v1.3.0-rc1
Ethan Koenig Lunny Xiao 8 years ago
parent
commit
0c1d567078
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/context/repo.go

+ 2
- 1
modules/context/repo.go View File

@@ -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…
Cancel
Save