pools/show: remove unused related tags calculation.

This commit is contained in:
evazion
2019-08-08 22:34:19 -05:00
parent 266259de54
commit 6d171f44c4

View File

@@ -1,15 +1,10 @@
module PostSetPresenters
class Pool < Base
attr_reader :tag_set_presenter, :post_set
attr_reader :post_set
delegate :posts, :to => :post_set
def initialize(post_set)
@post_set = post_set
@tag_set_presenter = TagSetPresenter.new(
RelatedTagCalculator.calculate_from_sample_to_array(
post_set.tag_string
).map {|x| x[0]}
)
end
def post_previews_html(template)