post index noe works
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</section>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
/<%= @post_set.tags.join(" ") %>
|
||||
/<%= @post_set.tag_string %>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => "posts/partials/common/secondary_links" %>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<h1>Posts</h1>
|
||||
|
||||
<%= post_set.presenter.post_previews_html %>
|
||||
<%= post_set.presenter.post_previews_html(self) %>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="paginator">
|
||||
<%= smart_paginator(post_set.posts) do |page| %>
|
||||
<%= link_to(page, posts_path(:page => page, :tags => post_set.tags)) %>
|
||||
<%= numbered_paginator(post_set.posts) do |page| %>
|
||||
<%= link_to(page, posts_path(:page => page, :tags => post_set.tag_string)) %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user