summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-07-11 18:22:26 +0000
committerSimon Knox <psimyn@gmail.com>2017-07-27 11:08:53 +1000
commit764688c216e6b0ac7036109640cf22c6f74e5b92 (patch)
tree8643c28d6e8ed10a2c42073e0d52df51d4ce9936
parentd22ebc6a5a762c17dd9df818ecb9cc4ea628d025 (diff)
downloadgitlab-ce-764688c216e6b0ac7036109640cf22c6f74e5b92.tar.gz
Merge branch '34729-blob' into 'master'
snippet has a blob, but isn't a blob Closes #34729 See merge request !12792
-rw-r--r--app/views/help/ui.html.haml2
-rw-r--r--changelogs/unreleased/34729-blob.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml
index 615dd56afbd..48edbb8c16f 100644
--- a/app/views/help/ui.html.haml
+++ b/app/views/help/ui.html.haml
@@ -525,7 +525,7 @@
%h4
%code .file-holder
- - blob = Snippet.new(content: "Wow\nSuch\nFile")
+ - blob = Snippet.new(content: "Wow\nSuch\nFile").blob
.example
.file-holder
.js-file-title.file-title
diff --git a/changelogs/unreleased/34729-blob.yml b/changelogs/unreleased/34729-blob.yml
new file mode 100644
index 00000000000..15a469d3af0
--- /dev/null
+++ b/changelogs/unreleased/34729-blob.yml
@@ -0,0 +1,4 @@
+---
+title: Fix crash on /help/ui
+merge_request:
+author: