From f9f33feb1aefbd49f33ad7f58cbec59aab6963ba Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 27 May 2021 13:54:46 +0800 Subject: [PATCH] Change widget max data count from 10 to 30. --- lib/gallery/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gallery/engine.rb b/lib/gallery/engine.rb index d784c06..f4e3d46 100644 --- a/lib/gallery/engine.rb +++ b/lib/gallery/engine.rb @@ -37,7 +37,7 @@ module Gallery base_url File.expand_path File.dirname(__FILE__) widget_methods ["widget","album_widget"] # widget_settings [] - widget_settings [{"data_count"=>10}] + widget_settings [{"data_count"=>30}] models_to_cache [:album,:album_image] taggable "Album" categorizable