BigW Consortium Gitlab

Commit 2ff83aa3 by Marin Jankovski

Fix typo.

parent ac6a107a
......@@ -13,7 +13,7 @@ module DiffHelper
end
end
def show_diff_size_warninig?(diffs)
def show_diff_size_warning?(diffs)
diffs.size > allowed_diff_size
end
......
......@@ -12,7 +12,7 @@
= link_to "Inline Diff", url_for(params_copy), {id: "commit-diff-viewtype"}
- if show_diff_size_warninig?(diffs)
- if show_diff_size_warning?(diffs)
= render 'projects/diffs/warning', diffs: diffs
.files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment