Permalink
Browse files

Don't show link to stats for gems that have been yanked

  • Loading branch information...
1 parent 5aef5a6 commit 648b6cb00fd4d98528d8681dd1c651d63c88f813 @sferik sferik committed Jul 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/rubygems/show.html.erb
@@ -28,8 +28,8 @@
<% if @latest_version.indexed %>
<%= subscribe_link(@rubygem) %>
<%= unsubscribe_link(@rubygem) %>
+ <%= link_to t('.stats_header'), rubygem_stats_path(@rubygem), :id => "stats" %>
<% end %>
- <%= link_to t('.stats_header'), rubygem_stats_path(@rubygem), :id => "stats" %>
</div>
<% if @latest_version.indexed %>

0 comments on commit 648b6cb

Please sign in to comment.