summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorSebastian Klier <sebastian@sebastianklier.com>2016-04-15 12:47:09 +0800
committerSebastian Klier <sebastian@sebastianklier.com>2016-04-20 08:25:41 +0800
commitedd07e2363297d4e296505a8e82eb76b2a009f10 (patch)
tree264c85395521df39a2cef4eb2c665a62da80e6b8 /app/services
parentca3e1d9e3f8246ad7cb25de9cd88646c6b74b5f2 (diff)
downloadgitlab-ce-edd07e2363297d4e296505a8e82eb76b2a009f10.tar.gz
Fix wiki tests
Diffstat (limited to 'app/services')
-rw-r--r--app/services/wiki_pages/base_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/wiki_pages/base_service.rb b/app/services/wiki_pages/base_service.rb
index 9ab9d187413..9162f128602 100644
--- a/app/services/wiki_pages/base_service.rb
+++ b/app/services/wiki_pages/base_service.rb
@@ -11,7 +11,7 @@ module WikiPages
repository: @project.hook_attrs.slice(:name, :url, :description, :homepage)
}
- page_url = Gitlab::UrlBuilder.new(:wiki_page).build(page)
+ page_url = Gitlab::UrlBuilder.build(page)
hook_data[:object_attributes].merge!(url: page_url, action: action)
hook_data
end