aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-02-25 20:42:14 -0500
committerAlec Warner <antarus@gentoo.org>2018-02-25 20:42:14 -0500
commit287ebb62e7be6986ae62089e5253a0ac2b96346e (patch)
treed75873460e77a09c85ae77f0c19f3bdc451dbdb1
parentUniqify versions in the UI for the moment. (diff)
downloadpackages-6.0.5.tar.gz
packages-6.0.5.tar.bz2
packages-6.0.5.zip
Use new unique_versions view in package show UI.v6.0.5
-rw-r--r--app/views/packages/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/show.html.erb b/app/views/packages/show.html.erb
index 30e0013..28c81ee 100644
--- a/app/views/packages/show.html.erb
+++ b/app/views/packages/show.html.erb
@@ -2,7 +2,7 @@
<% cache "#{@package.atom}-#{@package.metadata_hash}" do %>
<div class="row">
<div class="col-md-9">
- <%= render partial: 'versions', object: @package.versions, as: 'versions' %>
+ <%= render partial: 'versions', object: @package.unique_versions, as: 'versions' %>
<% if @package.removal_pending? %>
<%= render partial: 'removal_notice', object: @package, as: 'package' %>