Commit 3f70316c5f264948d74eb9080079be4c78f5aaa9
1 parent
b78f6581
Exists in
master
and in
4 other branches
fix elsif statement
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
app/views/commits/_text_file.html.haml
@@ -13,10 +13,8 @@ | @@ -13,10 +13,8 @@ | ||
13 | = diff_line(line, line_new, line_old) | 13 | = diff_line(line, line_new, line_old) |
14 | - if line[0] == "+" | 14 | - if line[0] == "+" |
15 | - line_new += 1 | 15 | - line_new += 1 |
16 | - - elsif | ||
17 | - - line[0] == "-" | 16 | + - elsif line[0] == "-" |
18 | - line_old += 1 | 17 | - line_old += 1 |
19 | - else | 18 | - else |
20 | - line_new += 1 | 19 | - line_new += 1 |
21 | - line_old += 1 | 20 | - line_old += 1 |
22 | - |