summaryrefslogtreecommitdiff
path: root/app/models/wiki_page.rb
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-11-07 08:01:59 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-11-07 08:01:59 +0000
commit8aae7405ee9947e5d1cabb42cab7b47cadf8d09e (patch)
treed98fbf6e229cd21bd0ca881e4c6d98a86ae68bad /app/models/wiki_page.rb
parent1b788c66a1b1861d8dcca14785d22c59e31713fd (diff)
downloadgitlab-ce-8aae7405ee9947e5d1cabb42cab7b47cadf8d09e.tar.gz
Fix bug with wiki page create message
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 c5e349ae913..ae7fb5f962a 100644
--- a/app/models/wiki_page.rb
+++ b/app/models/wiki_page.rb
@@ -195,7 +195,7 @@ class WikiPage
update_attributes(attrs)
save(page_details: title) do
- wiki.create_page(title, content, format, message)
+ wiki.create_page(title, content, format, attrs[:message])
end
end