added post controller test

This commit is contained in:
albert
2011-01-28 18:03:00 -05:00
parent 2053e6ad8c
commit 3ba52acfe0
6 changed files with 54 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<li>Popular</li>
<li>Favorites</li>
<li>Subscriptions</li>
<li><%= link_to "Changes", post_histories_path %></li>
<li><%= link_to "Changes", post_versions_path %></li>
<li>Approvals</li>
<li>Moderate</li>
<li>Help</li>

View File

@@ -10,6 +10,6 @@
(<%= post.image_width %>x<%= post.image_height %>)
<% end %>
</li>
<li><%= link_to "Tag History", post_histories_path(:search => {:post_id_eq => post.id}) %></li>
<li><%= link_to "Tag History", post_versions_path(:search => {:post_id_eq => post.id}) %></li>
<li><%= link_to "Note History", note_versions_path(:search => {:post_id_eq => post.id}) %></li>
</ul>