fix ids of post previews

This commit is contained in:
Albert Yi
2018-11-02 15:51:14 -07:00
parent 9cfbda64bf
commit 1a41ccf7ba

View File

@@ -23,7 +23,7 @@ class PostPresenter < Presenter
locals = {}
locals[:article_attrs] = {
"id" => "post_##{post.id}",
"id" => "post_#{post.id}",
"class" => preview_class(post, options).join(" ")
}.merge(data_attributes(post))