Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorZevs <vsv2711@gmail.com>2012-06-20 22:00:34 +0400
committerZevs <vsv2711@gmail.com>2012-06-20 22:00:34 +0400
commit581a8223263deab02b4018267ed63ef334eee97f (patch)
treee0383469a53c71a9c382a991752b9aa2b828e912 /app
parent65c35394ebb5de7619b71949a883b1071bf72b98 (diff)
Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."
This reverts commit 7484bcfff7fc8e132d94701b3af47f521ce117c5.
Diffstat (limited to 'app')
-rw-r--r--app/views/merge_requests/_commits.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/merge_requests/_commits.html.haml b/app/views/merge_requests/_commits.html.haml
index ad3cba2b822..bad328b6792 100644
--- a/app/views/merge_requests/_commits.html.haml
+++ b/app/views/merge_requests/_commits.html.haml
@@ -1,4 +1,4 @@
-- if @commits.present?
+- unless @commits.empty?
.ui-box
%h5 Commits (#{@commits.count})
.merge-request-commits