diff options
author | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-15 12:47:09 +0800 |
---|---|---|
committer | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-20 08:25:41 +0800 |
commit | edd07e2363297d4e296505a8e82eb76b2a009f10 (patch) | |
tree | 264c85395521df39a2cef4eb2c665a62da80e6b8 /app/services | |
parent | ca3e1d9e3f8246ad7cb25de9cd88646c6b74b5f2 (diff) | |
download | gitlab-ce-edd07e2363297d4e296505a8e82eb76b2a009f10.tar.gz |
Fix wiki tests
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/wiki_pages/base_service.rb | 2 |
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 |