summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-07-11 23:46:33 +1000
committerSimon Knox <psimyn@gmail.com>2017-07-12 00:13:21 +1000
commite0f4a63ecebdaf4330b7de98b9184055f7a8ec61 (patch)
tree738cd88a9473acdd80739e16254b8279fe5bbe28
parent01dabbd5c94b494a1833c4e0395032cc81f85dce (diff)
downloadgitlab-ce-34729-blob.tar.gz
snippet has a blob, but isn't a blob34729-blob
-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: