1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-23 11:39:41 +02:00

Finish watch backend

This commit is contained in:
Unknown 2014-03-19 23:48:30 -04:00
parent 59ea3c0413
commit ee92fb8635
3 changed files with 8 additions and 0 deletions

View file

@ -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