fix error with nested arrays

This commit is contained in:
Toks
2013-04-09 23:45:36 -04:00
parent 22d627e844
commit 20e8d10f44

View File

@@ -108,7 +108,7 @@ class PostPresenter < Presenter
string << @post.general_tags
end
string.slice(0, 25).join(", ").tr("_", " ")
string.flatten.slice(0, 25).join(", ").tr("_", " ")
end
def image_html(template)