summaryrefslogtreecommitdiffstats
path: root/models/wiki.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-01-27 13:04:53 -0500
committerEthan Koenig <ethantkoenig@gmail.com>2017-01-27 13:08:17 -0500
commitbb76285762186c7ca2add7c199114786a3b2e207 (patch)
tree8064ec3238fefd613e5898a68c9fec091e47233a /models/wiki.go
parentbb5a6b7a07125b29604f479f45e59073cb3d4648 (diff)
downloadgitea-bb76285762186c7ca2add7c199114786a3b2e207.tar.gz
gitea-bb76285762186c7ca2add7c199114786a3b2e207.zip
Unit tests for models/wiki
Diffstat (limited to 'models/wiki.go')
-rw-r--r--models/wiki.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/wiki.go b/models/wiki.go
index b20b118641..2e2c1d03fa 100644
--- a/models/wiki.go
+++ b/models/wiki.go
@@ -41,7 +41,7 @@ func ToWikiPageName(urlString string) string {
}
// WikiCloneLink returns clone URLs of repository wiki.
-func (repo *Repository) WikiCloneLink() (cl *CloneLink) {
+func (repo *Repository) WikiCloneLink() *CloneLink {
return repo.cloneLink(true)
}