diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-27 13:04:53 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-27 13:08:17 -0500 |
commit | bb76285762186c7ca2add7c199114786a3b2e207 (patch) | |
tree | 8064ec3238fefd613e5898a68c9fec091e47233a /models/wiki.go | |
parent | bb5a6b7a07125b29604f479f45e59073cb3d4648 (diff) | |
download | gitea-bb76285762186c7ca2add7c199114786a3b2e207.tar.gz gitea-bb76285762186c7ca2add7c199114786a3b2e207.zip |
Unit tests for models/wiki
Diffstat (limited to 'models/wiki.go')
-rw-r--r-- | models/wiki.go | 2 |
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) } |