presenters: merge PostSetPresenter into PostSet.
Reduce indirection. PostSet is basically a collection of helper methods for rendering the post index page. PostSetPresenter was a set of helper methods for rendering the tag list on the post index page. These don't need to be separated.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div id="posts" class="user-disable-cropped-<%= Danbooru.config.enable_image_cropping && CurrentUser.user.disable_cropped_thumbnails? %>">
|
||||
<div id="posts-container">
|
||||
<%= post_set.presenter.post_previews_html(self) %>
|
||||
<%= post_set.post_previews_html(self) %>
|
||||
</div>
|
||||
|
||||
<% if post_set.hidden_posts.present? %>
|
||||
|
||||
Reference in New Issue
Block a user