favgroups: convert post_ids from string to array.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
Favorite Group:
|
||||
<%= link_to @favorite_group.pretty_name, posts_path(:tags => "favgroup:#{@favorite_group.id}") %>
|
||||
</h1>
|
||||
|
||||
Creator: <%= link_to_user @favorite_group.creator %>
|
||||
<br>
|
||||
<br>
|
||||
@@ -11,9 +12,13 @@
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<section>
|
||||
<%= @post_set.presenter.post_previews_html(self) %>
|
||||
<% if @favorite_group.post_count == 0 %>
|
||||
<%= render "post_sets/blank" %>
|
||||
<% else %>
|
||||
<%= post_previews_html(@posts, favgroup_id: @favorite_group.id) %>
|
||||
|
||||
<%= numbered_paginator(@post_set) %>
|
||||
<%= numbered_paginator(@posts) %>
|
||||
<% end %>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user