fix error with nested arrays
This commit is contained in:
@@ -108,7 +108,7 @@ class PostPresenter < Presenter
|
|||||||
string << @post.general_tags
|
string << @post.general_tags
|
||||||
end
|
end
|
||||||
|
|
||||||
string.slice(0, 25).join(", ").tr("_", " ")
|
string.flatten.slice(0, 25).join(", ").tr("_", " ")
|
||||||
end
|
end
|
||||||
|
|
||||||
def image_html(template)
|
def image_html(template)
|
||||||
|
|||||||
Reference in New Issue
Block a user