diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-07 00:20:24 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-07 22:28:33 +0300 |
commit | dbffaaa97e7a195dc5421237392788a03a6b763a (patch) | |
tree | 50bb684af42b12ee18b8221573827bdbc2d18504 /app/views | |
parent | fc1090d9f39231e31f929e37b9703db9738b457c (diff) |
Blob#load_all_data! doesn’t need an argument
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/diffs/viewers/_text.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/viewers/_text.html.haml b/app/views/projects/diffs/viewers/_text.html.haml index e4b89671724..120d3540223 100644 --- a/app/views/projects/diffs/viewers/_text.html.haml +++ b/app/views/projects/diffs/viewers/_text.html.haml @@ -1,5 +1,5 @@ - blob = diff_file.blob -- blob.load_all_data!(diff_file.repository) +- blob.load_all_data! - total_lines = blob.lines.size - total_lines -= 1 if total_lines > 0 && blob.lines.last.blank? - if diff_view == :parallel |