#1885: add prefetch for pools

This commit is contained in:
r888888888
2013-07-23 13:55:48 -07:00
parent ddeacb81e8
commit 9d1b50d5b2
2 changed files with 7 additions and 0 deletions

View File

@@ -116,6 +116,10 @@
<meta name="twitter:image:width" content="<%= @post.image_width %>">
<meta name="twitter:image:height" content="<%= @post.image_height %>">
<% end %>
<% if @post.presenter.next_post_in_pool %>
<link rel="prefetch" href="<%= post_path(@post.presenter.next_post_in_pool, :pool_id => params[:pool_id]) %>">
<% end %>
<% end %>
<%= render "posts/partials/common/secondary_links" %>