From 25a30ecf5190301f9fe68340a7fdffcbe4e3b513 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 12 May 2020 10:13:38 -0300 Subject: [PATCH] no preguntar cada vez si vamos a cachear o no --- 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 81e6088..dbd1a7c 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -47,7 +47,7 @@ -# TODO: Solo les usuaries cachean porque tenemos que separar les botones por permisos. - - cache_if @site.usuarie?(current_usuarie), post do + - cache_if @usuarie, post do %tr %td .handle