summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-10 15:42:43 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-06-27 14:17:49 -0700
commitf8b80f7faedef7515d05abd9a5cc315d98724ae3 (patch)
tree9f0079320c6edbf2ded9221960d2f71e1aca5053 /app/views/projects
parent0fd4b9d3e2c800e728e17e919fa7369b3322c65b (diff)
downloadgitlab-ce-f8b80f7faedef7515d05abd9a5cc315d98724ae3.tar.gz
add custom highlighting via .gitattributes
paired with @stanhu
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/blob/_text.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_text.html.haml b/app/views/projects/blob/_text.html.haml
index b1769759dce..58524418a67 100644
--- a/app/views/projects/blob/_text.html.haml
+++ b/app/views/projects/blob/_text.html.haml
@@ -16,4 +16,4 @@
.file-content.code
.nothing-here-block Empty file
- else
- = render 'shared/file_highlight', blob: blob
+ = render 'shared/file_highlight', blob: blob, repository: @repository