diff --git a/lib/gallery/engine.rb b/lib/gallery/engine.rb index 53dc9f6..f92af24 100644 --- a/lib/gallery/engine.rb +++ b/lib/gallery/engine.rb @@ -7,6 +7,7 @@ module Gallery widget_methods ["widget"] # widget_settings [] widget_settings [{"data_count"=>10}] + models_to_cache [:album,:album_image] categorizable authorizable frontend_enabled