diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-07-07 16:14:18 -0400 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-07 16:14:18 -0400 |
commit | 14c2b9683af73ffed6c9b544ff24353cf0d07e1a (patch) | |
tree | 444b91795ec1f6cd3ba1be8f31e83cd33d66ca16 /app/views/projects/diffs/_line.html.haml | |
parent | 6dd71888b310d2615d74ea129431fc6c9791b6b7 (diff) | |
download | gitlab-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.haml | 2 |
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) |