summaryrefslogtreecommitdiff
path: root/app/models/wiki_page.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-07-17 15:57:10 +0000
committerDouwe Maan <douwe@gitlab.com>2018-07-17 15:57:10 +0000
commit10bd800297ee9cca53566ae3f021a73e22e2b803 (patch)
treebe87e98505a5bd17c19a7050aef95da8dc41fd0c /app/models/wiki_page.rb
parent05bef3c67a06cfea6553078f6d4e3882f5d03d0e (diff)
parentfc580935ca2171d4f5628818aa4826fbce4a7261 (diff)
downloadgitlab-ce-10bd800297ee9cca53566ae3f021a73e22e2b803.tar.gz
Merge branch 'satishperala/gitlab-ce-20720_webhooks_full_image_url' into 'master'
Include full image URL in webhooks for uploaded images Closes #20720 See merge request gitlab-org/gitlab-ce!18109
Diffstat (limited to 'app/models/wiki_page.rb')
-rw-r--r--app/models/wiki_page.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb
index 4b49edb01a5..55243136140 100644
--- a/app/models/wiki_page.rb
+++ b/app/models/wiki_page.rb
@@ -60,7 +60,7 @@ class WikiPage
attr_accessor :attributes
def hook_attrs
- attributes
+ Gitlab::HookData::WikiPageBuilder.new(self).build
end
def initialize(wiki, page = nil, persisted = false)