Browse Source

mod html

tags/v1.21.12.1
yuyuanshifu 4 years ago
parent
commit
8812e32955
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/cloudbrain.go

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

@@ -178,7 +178,7 @@ func CloudBrainCreate(ctx *context.Context, form auth.CreateCloudBrainForm) {
ctx.RenderWithErr(err.Error(), tplCloudBrainNew, &form) ctx.RenderWithErr(err.Error(), tplCloudBrainNew, &form)
return return
} }
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/cloudbrain")
ctx.HTML(200, tplCloudBrainIndex)
} }


func CloudBrainShow(ctx *context.Context) { func CloudBrainShow(ctx *context.Context) {


Loading…
Cancel
Save