summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_line.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-07-07 16:14:18 -0400
committerDouwe Maan <douwe@selenight.nl>2016-07-07 16:14:18 -0400
commit14c2b9683af73ffed6c9b544ff24353cf0d07e1a (patch)
tree444b91795ec1f6cd3ba1be8f31e83cd33d66ca16 /app/views/projects/diffs/_line.html.haml
parent6dd71888b310d2615d74ea129431fc6c9791b6b7 (diff)
downloadgitlab-ce-14c2b9683af73ffed6c9b544ff24353cf0d07e1a.tar.gz
Use HAML class syntax in diff line partials
Diffstat (limited to 'app/views/projects/diffs/_line.html.haml')
-rw-r--r--app/views/projects/diffs/_line.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_line.html.haml b/app/views/projects/diffs/_line.html.haml
index 2e7fdc832ed..22cad00240a 100644
--- a/app/views/projects/diffs/_line.html.haml
+++ b/app/views/projects/diffs/_line.html.haml
@@ -27,4 +27,4 @@
= link_text
- else
= link_to "", "##{line_code}", id: line_code, data: { linenumber: link_text }
- %td.line_content{ class: ['noteable_line', type, line_code], data: { line_code: line_code, position: position.to_json } }= diff_line_content(line.text, type)
+ %td.line_content.noteable_line{ class: [type, line_code], data: { line_code: line_code, position: position.to_json } }= diff_line_content(line.text, type)