add nav help for posts

This commit is contained in:
albert
2013-02-25 20:41:08 -05:00
parent c6d03f2d3a
commit cea05698af
9 changed files with 66 additions and 29 deletions

View File

@@ -104,8 +104,14 @@ class PostPresenter < Presenter
html = pool_link_html(html, template, other_pool)
end
else
first = true
@post.pools.active.each do |pool|
html = pool_link_html(html, template, pool)
if first
html = pool_link_html(html, template, pool, :include_rel => true)
first = false
else
html = pool_link_html(html, template, pool)
end
end
end