diff --git a/lib/ad_banner/engine.rb b/lib/ad_banner/engine.rb index cfc045f..bcfa081 100644 --- a/lib/ad_banner/engine.rb +++ b/lib/ad_banner/engine.rb @@ -6,6 +6,7 @@ module AdBanner base_url File.expand_path File.dirname(__FILE__) widget_methods ["widget"] widget_settings [{"override_category_with"=>"banner","multiselect"=>false,"display_field"=>"title"}] + models_to_cache [:banner,:ad_image] taggable "Banner" categorizable authorizable