This commit is contained in:
Toks
2013-06-29 11:44:57 -04:00
parent 59db60f35c
commit 22f7e2755e

View File

@@ -55,7 +55,10 @@ class PostPresenter < Presenter
string = []
if @post.character_tags.any?
string << @post.character_tags.slice(0, 5).to_sentence
chartags = @post.character_tags.slice(0, 5).map do |tag|
tag.match(/^(.+?)(?:_\(.+\))?$/)[1]
end
string << chartags.to_sentence
end
if @post.copyright_tags.any?