add models_to_cache

This commit is contained in:
JiangRu 2015-03-30 14:57:27 +08:00
parent 9d549ae12a
commit 09bec1f9be
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ module AdBanner
base_url File.expand_path File.dirname(__FILE__) base_url File.expand_path File.dirname(__FILE__)
widget_methods ["widget"] widget_methods ["widget"]
widget_settings [{"override_category_with"=>"banner","multiselect"=>false,"display_field"=>"title"}] widget_settings [{"override_category_with"=>"banner","multiselect"=>false,"display_field"=>"title"}]
models_to_cache [:banner,:ad_image]
taggable "Banner" taggable "Banner"
categorizable categorizable
authorizable authorizable