Skip to content

Commit

Permalink
Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."
Browse files Browse the repository at this point in the history
This reverts commit 7484bcf.
  • Loading branch information
vsizov committed Jun 20, 2012
1 parent 65c3539 commit 581a822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 581a822

Please sign in to comment.