separated pool/post updates; fixed unit tests

This commit is contained in:
albert
2011-03-13 17:49:34 -04:00
parent 4717726217
commit 90a41a334b
13 changed files with 83 additions and 1334 deletions

View File

@@ -5,6 +5,13 @@
<h1>Search</h1>
<%= render :partial => "posts/partials/common/search" %>
</section>
<% if @post.pools.any? %>
<section>
<h1>Pools</h1>
<%= render "posts/partials/show/pools", :locals => {:post => @post} %>
</section>
<% end %>
<section>
<h1>Tags</h1>
@@ -19,7 +26,7 @@
<section>
<h1>Options</h1>
<%= render :partial => "posts/partials/show/options", :locals => {:post => @post} %>
</section>
</section>
</aside>
<section id="content">