mirror of
https://gitee.com/gitea/gitea
synced 2025-11-06 01:20:26 +08:00
Finish watch backend
This commit is contained in:
@@ -63,6 +63,7 @@ func RepoAssignment(redirect bool) martini.Handler {
|
||||
}
|
||||
|
||||
ctx.Repo.IsValid = true
|
||||
ctx.Repo.IsWatching = models.IsWatching(ctx.User.Id, repo.Id)
|
||||
ctx.Repo.Repository = repo
|
||||
|
||||
ctx.Data["IsRepositoryValid"] = true
|
||||
|
||||
Reference in New Issue
Block a user