From 1b99bdf9dca41c4cbdaa31be1d10f3a690faef81 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 3 Aug 2021 11:19:21 -0700 Subject: [PATCH] remove unnecessary queries --- app/controllers/main_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 95a74c74..255f1492 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -50,9 +50,6 @@ class MainController < ApplicationController end def recent_content - return [] if @activated_content_types.nil? - - cache_recently_created_pages end def for_writers