Fix typo.

This commit is contained in:
Marin Jankovski 2014-09-09 11:52:16 +02:00
parent ac6a107ac7
commit 2ff83aa389
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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