diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-09-09 11:52:16 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-09-09 11:52:16 +0200 |
commit | 2ff83aa389894c1dc306f1bf3d2d4aebe25eff62 (patch) | |
tree | ab0c0ed4c5a8e6cebfcf4e346a9119d8f41934ea /app | |
parent | ac6a107ac7d7350d1df46d84bf831ab3d8bcc91a (diff) | |
download | gitlab-ce-2ff83aa389894c1dc306f1bf3d2d4aebe25eff62.tar.gz |
Fix typo.
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/diff_helper.rb | 2 | ||||
-rw-r--r-- | app/views/projects/diffs/_diffs.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/diff_helper.rb b/app/helpers/diff_helper.rb index 0b49748fa37..afe7447d4e2 100644 --- a/app/helpers/diff_helper.rb +++ b/app/helpers/diff_helper.rb @@ -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 diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml index 49b3dc6941a..2d7ecdc3809 100644 --- a/app/views/projects/diffs/_diffs.html.haml +++ b/app/views/projects/diffs/_diffs.html.haml @@ -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 |