Browse Source

Fix #159

for-closed-social
Unknown 10 years ago
parent
commit
a9e6d49dc6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      gogs.go
  2. +1
    -1
      routers/repo/issue.go

+ 1
- 1
gogs.go View File

@ -20,7 +20,7 @@ import (
// Test that go1.2 tag above is included in builds. main.go refers to this definition. // Test that go1.2 tag above is included in builds. main.go refers to this definition.
const go12tag = true const go12tag = true
const APP_VER = "0.3.2.0501 Alpha"
const APP_VER = "0.3.2.0502 Alpha"
func init() { func init() {
base.AppVer = APP_VER base.AppVer = APP_VER

+ 1
- 1
routers/repo/issue.go View File

@ -294,5 +294,5 @@ func Comment(ctx *middleware.Context, params martini.Params) {
} }
} }
ctx.Redirect(fmt.Sprintf("/%s/%s/issues/%d", ctx.User.Name, ctx.Repo.Repository.Name, index))
ctx.Redirect(fmt.Sprintf("%s/issues/%d", ctx.Repo.RepoLink, index))
} }

Loading…
Cancel
Save