From 3e6cb67c575a06cd7b6a1ba3939973e65eec11c1 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 21 Nov 2017 14:46:10 -0800 Subject: [PATCH] only cache notes if a post has notes --- app/views/posts/show.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb index ae3168f4b..7fa0b6706 100644 --- a/app/views/posts/show.html.erb +++ b/app/views/posts/show.html.erb @@ -102,8 +102,10 @@