From 6de88577ce12ca1c0051a4cec0787e9cd3a7a9a6 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 21 Apr 2026 09:32:57 +0000 Subject: [PATCH] Add widget methods "image_sort" --- 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 78ff87e..1034326 100644 --- a/lib/gallery/engine.rb +++ b/lib/gallery/engine.rb @@ -43,7 +43,7 @@ module Gallery OrbitApp.registration "Gallery", :type => "ModuleApp" do module_label "gallery.gallery" base_url File.expand_path File.dirname(__FILE__) - widget_methods ["widget","album_widget"] + widget_methods ["widget","album_widget","image_sort"] # widget_settings [] widget_settings [{"data_count"=>30}] models_to_cache [:album,:album_image]