aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-08-09 15:46:34 +0200
committerAlex Legler <alex@a3li.li>2016-08-09 15:46:34 +0200
commite5c968092dba7e8c3404d14508da92cfef99a687 (patch)
tree74ae017d4cf3ce4a8a05376467de7d1ffb473b79 /app
parentRework package metadata header (diff)
downloadpackages-5-e5c968092dba7e8c3404d14508da92cfef99a687.tar.gz
packages-5-e5c968092dba7e8c3404d14508da92cfef99a687.tar.bz2
packages-5-e5c968092dba7e8c3404d14508da92cfef99a687.zip
Don't cache package header
Diffstat (limited to 'app')
-rw-r--r--app/views/packages/show.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/packages/show.html.erb b/app/views/packages/show.html.erb
index bc649ba..30e0013 100644
--- a/app/views/packages/show.html.erb
+++ b/app/views/packages/show.html.erb
@@ -1,6 +1,5 @@
-<% cache "#{@package.atom}-#{@package.metadata_hash}" do %>
<%= render partial: 'package_header', object: @package, as: 'package' %>
-
+<% cache "#{@package.atom}-#{@package.metadata_hash}" do %>
<div class="row">
<div class="col-md-9">
<%= render partial: 'versions', object: @package.versions, as: 'versions' %>