From 4babe611a247b840c07294fcc7f4b4fa857bcef0 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Sat, 5 Oct 2019 15:57:32 +0800 Subject: [PATCH] delete frontend widget --- lib/patchfile/engine.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/patchfile/engine.rb b/lib/patchfile/engine.rb index a9a916c..8aa692e 100644 --- a/lib/patchfile/engine.rb +++ b/lib/patchfile/engine.rb @@ -3,14 +3,11 @@ module Patchfile class Engine < ::Rails::Engine initializer "patchfile" do OrbitApp.registration "Patchfile", :type => "ModuleApp" do - module_label "patchfile.Patchfile" + module_label "patchfile.patchfile" base_url File.expand_path File.dirname(__FILE__) - widget_methods ["widget","random_patchfile_widget", "tag_cloud"] - widget_settings [{"data_count"=>30}] taggable "patchfilefield" categorizable authorizable - frontend_enabled data_count 1..30 side_bar do head_label_i18n 'patchfile.patchfile', icon_class: "icons-megaphone"