aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-18 15:11:37 -0500
committerUnknwon <u@gogs.io>2015-11-18 15:11:37 -0500
commit81d7359fdd3042aed0bcb4a8e5dee24208d34e58 (patch)
tree06ddf73fb2ee69c21f1d73c8b030d72ba92f2e83 /routers/repo
parent9a0902523b36dcf086aa0eafcfb9e93131bc027c (diff)
downloadgitea-81d7359fdd3042aed0bcb4a8e5dee24208d34e58.tar.gz
gitea-81d7359fdd3042aed0bcb4a8e5dee24208d34e58.zip
fix #1981
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index b69592411b..ee66da73b0 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -45,7 +45,7 @@ func getForkRepository(ctx *middleware.Context) *models.Repository {
}
ctx.Data["repo_name"] = forkRepo.Name
- ctx.Data["desc"] = forkRepo.Description
+ ctx.Data["description"] = forkRepo.Description
ctx.Data["IsPrivate"] = forkRepo.IsPrivate
if err = forkRepo.GetOwner(); err != nil {