mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 21:12:51 +09:00
Unified link creation. (#15619)
This commit is contained in:
@ -234,7 +234,7 @@ func MigratePost(ctx *context.Context) {
|
||||
|
||||
err = task.MigrateRepository(ctx.User, ctxUser, opts)
|
||||
if err == nil {
|
||||
ctx.Redirect(setting.AppSubURL + "/" + ctxUser.Name + "/" + opts.RepoName)
|
||||
ctx.Redirect(ctxUser.HomeLink() + "/" + opts.RepoName)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user