diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index a11ff81a..1425a124 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -86,7 +86,8 @@ %td = post.date.value.strftime('%F') %br/ - = post&.order&.value + - if post.attribute? :order + = post.order.value %td - if @usuarie || policy(post).edit? = link_to t('posts.edit'),