From 0c7889e437e9b31aa0e59cd3effb511be522473c Mon Sep 17 00:00:00 2001 From: JiangRu Date: Mon, 30 Mar 2015 15:08:44 +0800 Subject: [PATCH] add models_to_cache --- lib/announcement/engine.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/announcement/engine.rb b/lib/announcement/engine.rb index 174c9ad..778a75b 100644 --- a/lib/announcement/engine.rb +++ b/lib/announcement/engine.rb @@ -6,6 +6,7 @@ module Announcement base_url File.expand_path File.dirname(__FILE__) widget_methods ["widget"] widget_settings [{"data_count"=>10}] + models_to_cache [:bulletin] taggable "Bulletin" categorizable authorizable