OSDN Git Service

remove double negative
authorZevs <vsv2711@gmail.com>
Wed, 20 Jun 2012 21:21:13 +0000 (00:21 +0300)
committerZevs <vsv2711@gmail.com>
Wed, 20 Jun 2012 21:21:13 +0000 (00:21 +0300)
app/views/merge_requests/_commits.html.haml

index 3c0c44e..78fe1a0 100644 (file)
@@ -1,4 +1,4 @@
-- unless @commits.empty?
+- if @commits.present?
   .ui-box
     %h5 Commits (#{@commits.count})
     .merge-request-commits