delete frontend widget
This commit is contained in:
parent
12f87701ff
commit
4babe611a2
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue