include #r18 hash tag in humanized tag string

This commit is contained in:
r888888888
2014-02-13 13:30:46 -08:00
parent 315b38875b
commit 2b9d6cb44f

View File

@@ -71,6 +71,10 @@ class PostPresenter < Presenter
def humanized_essential_tag_string
string = []
if !@post.rating == "s"
string << "#r18"
end
if @post.character_tags.any?
chartags = @post.character_tags.slice(0, 5)
if @post.character_tags.length > 5