Update engine.rb,fix some bug
This commit is contained in:
parent
efcd1f2928
commit
4fc6746de3
|
@ -2,10 +2,10 @@ require "yaml"
|
||||||
module Patchfile
|
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_methods ["widget","random_patchfile_widget", "tag_cloud"]
|
||||||
widget_settings [{"data_count"=>30}]
|
widget_settings [{"data_count"=>30}]
|
||||||
taggable "patchfilefield"
|
taggable "patchfilefield"
|
||||||
categorizable
|
categorizable
|
||||||
|
|
Loading…
Reference in New Issue