diff --git a/lib/gallery/engine.rb b/lib/gallery/engine.rb index 53dc9f6..efa03e6 100644 --- a/lib/gallery/engine.rb +++ b/lib/gallery/engine.rb @@ -7,10 +7,11 @@ module Gallery widget_methods ["widget"] # widget_settings [] widget_settings [{"data_count"=>10}] + models_to_cache [:album,:album_image] categorizable authorizable frontend_enabled - data_count 1..10 + data_count 1..30 side_bar do head_label_i18n 'gallery.gallery', icon_class: "icons-pictures" available_for "users"