Skip to content

Commit

Permalink
be positive with #present? in rubygems#show
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Horner committed Jul 28, 2011
1 parent 520c8a1 commit 97f5ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/rubygems/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

</div>

<% unless @rubygem.linkset.empty? %>
<% if @rubygem.linkset.present? %>
<div class="links">
<h5><%= t '.links.header' %></h5>
<%= link_to_page t('.links.home'), @rubygem.linkset.home %>
Expand All @@ -78,7 +78,7 @@
</div>
<% end %>
<% unless @versions.empty? %>
<% if @versions.present? %>
<div class="versions">
<h5><%= t '.versions_header' %></h5>
<ol>
Expand Down

0 comments on commit 97f5ee9

Please sign in to comment.