From 2e3640e58bf9fca968d4bc9ef6fde2ff19b8fd9c Mon Sep 17 00:00:00 2001 From: f Date: Tue, 14 Apr 2020 14:48:12 -0300 Subject: [PATCH] mostrar los layouts de verdad --- 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 5242a340..534805a8 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -52,7 +52,7 @@ value: @posts.length - i, class: 'reorder' %td %small - = link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize, + = link_to @site.i18n.dig('layouts', post.layout.name.to_s) || post.layout.name.to_s.humanize, site_posts_path(@site, layout: post.layout.name) %br/ = link_to post.title.value,