This commit is contained in:
r888888888
2013-07-24 18:12:44 -07:00
parent b94d6e1693
commit c0921d0590
3 changed files with 41 additions and 1 deletions

View File

@@ -40,10 +40,14 @@ module PostSetPresenters
if tag
tag.related_tag_array.map(&:first)
else
[]
calculate_related_tags_from_post_set
end
end
def calculate_related_tags_from_post_set
RelatedTagCalculator.calculate_from_post_set_to_array(post_set).map(&:first)
end
def tag_list_html(template)
tag_set_presenter.tag_list_html(template)
end