delete frontend widget

This commit is contained in:
BOHUNG 2019-10-05 15:57:32 +08:00
parent 12f87701ff
commit 4babe611a2
1 changed files with 1 additions and 4 deletions

View File

@ -3,14 +3,11 @@ module Patchfile
class Engine < ::Rails::Engine class Engine < ::Rails::Engine
initializer "patchfile" do initializer "patchfile" do
OrbitApp.registration "Patchfile", :type => "ModuleApp" do OrbitApp.registration "Patchfile", :type => "ModuleApp" do
module_label "patchfile.Patchfile" module_label "patchfile.patchfile"
base_url File.expand_path File.dirname(__FILE__) base_url File.expand_path File.dirname(__FILE__)
widget_methods ["widget","random_patchfile_widget", "tag_cloud"]
widget_settings [{"data_count"=>30}]
taggable "patchfilefield" taggable "patchfilefield"
categorizable categorizable
authorizable authorizable
frontend_enabled
data_count 1..30 data_count 1..30
side_bar do side_bar do
head_label_i18n 'patchfile.patchfile', icon_class: "icons-megaphone" head_label_i18n 'patchfile.patchfile', icon_class: "icons-megaphone"