Commit 581a8223263deab02b4018267ed63ef334eee97f

Authored by Zevs
1 parent 65c35394

Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."

This reverts commit 7484bcfff7fc8e132d94701b3af47f521ce117c5.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/merge_requests/_commits.html.haml
1 -- if @commits.present? 1 +- unless @commits.empty?
2 .ui-box 2 .ui-box
3 %h5 Commits (#{@commits.count}) 3 %h5 Commits (#{@commits.count})
4 .merge-request-commits 4 .merge-request-commits