recommended posts: drop unused PostSets::Recommended class.

This commit is contained in:
evazion
2020-01-12 21:00:26 -06:00
parent b3eeb170cb
commit 3a2c050c91
2 changed files with 0 additions and 21 deletions

View File

@@ -1,14 +0,0 @@
module PostSets
class Recommended < PostSets::Post
attr_reader :posts
def initialize(posts)
super("")
@posts = posts
end
def presenter
::PostSetPresenters::Post.new(self)
end
end
end

View File

@@ -1,7 +0,0 @@
<div class="recommended-posts">
<p><em>You might also like:</em></p>
<section class="user-disable-cropped-<%= Danbooru.config.enable_image_cropping && CurrentUser.user.disable_cropped_thumbnails? %>">
<%= PostSets::Recommended.new(post).presenter.post_previews_html(self) %>
</section>
</div>