From 404436e294b4afb8de6cb736e97c9d48b9580795 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 11 May 2021 15:27:54 -0300 Subject: [PATCH] algunas categorias son de texto fixes #1537 fixes #1538 fixes #1539 fixes #1541 --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 67f909f0..33bb5a7c 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -98,7 +98,7 @@ %small - categories = post.categories.respond_to?(:has_many) ? post.categories.has_many : post.categories.value - categories.each do |c| - - c.read + - c.read if c.respond_to? :read = link_to site_posts_path(@site, category: (c.respond_to?(:uuid) ? c.uuid.value : c)) do %span{ lang: post.lang.value, dir: dir }= (c.respond_to?(:title) ? c.title.value : c) - unless categories.last == c