From 9a91fbc4ad2c5eb7199697955ad9c5267d3f6f3e Mon Sep 17 00:00:00 2001 From: f Date: Tue, 27 Feb 2018 18:24:27 -0300 Subject: [PATCH] especificar el idioma tambien en los posts --- app/views/posts/index.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index ac410523..98cd4209 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -26,11 +26,11 @@ - direction = post.get_front_matter(:dir) %tr %td{class: direction} - = link_to post.title, site_post_path(@site, post) + = link_to post.title, site_post_path(@site, post, lang: @lang) %br %small - post.categories.each do |c| - = link_to c, site_posts_path(@site, category: c), + = link_to c, site_posts_path(@site, category: c, lang: @lang), data: { toggle: 'tooltip' }, title: t('help.category') %td - if post.translations