forked from forgejo/forgejo
Finish watch backend
This commit is contained in:
parent
59ea3c0413
commit
ee92fb8635
3 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue