From 5fd2f7158e7ec66555cd58a945e2ae2f4dd76d70 Mon Sep 17 00:00:00 2001 From: Zevs Date: Thu, 21 Jun 2012 00:21:13 +0300 Subject: [PATCH] remove double negative --- app/views/merge_requests/_commits.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/merge_requests/_commits.html.haml b/app/views/merge_requests/_commits.html.haml index 3c0c44e069a..78fe1a062d3 100644 --- a/app/views/merge_requests/_commits.html.haml +++ b/app/views/merge_requests/_commits.html.haml @@ -1,4 +1,4 @@ -- unless @commits.empty? +- if @commits.present? .ui-box %h5 Commits (#{@commits.count}) .merge-request-commits