Fix typo.
This commit is contained in:
parent
ac6a107ac7
commit
2ff83aa389
|
@ -13,7 +13,7 @@ module DiffHelper
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def show_diff_size_warninig?(diffs)
|
def show_diff_size_warning?(diffs)
|
||||||
diffs.size > allowed_diff_size
|
diffs.size > allowed_diff_size
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
= link_to "Inline Diff", url_for(params_copy), {id: "commit-diff-viewtype"}
|
= 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
|
= render 'projects/diffs/warning', diffs: diffs
|
||||||
|
|
||||||
.files
|
.files
|
||||||
|
|
Loading…
Reference in New Issue