Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-11 01:42:43 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2016-06-28 00:17:49 +0300
commitf8b80f7faedef7515d05abd9a5cc315d98724ae3 (patch)
tree9f0079320c6edbf2ded9221960d2f71e1aca5053 /app/views/projects
parent0fd4b9d3e2c800e728e17e919fa7369b3322c65b (diff)
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