Update engine.rb,fix some bug

This commit is contained in:
chiu 2019-10-01 22:26:53 +08:00
parent efcd1f2928
commit 4fc6746de3
1 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@ require "yaml"
module Patchfile
class Engine < ::Rails::Engine
initializer "patchfile" do
OrbitApp.registration "patchfile", :type => "ModuleApp" do
OrbitApp.registration "Patchfile", :type => "ModuleApp" do
module_label "patchfile.Patchfile"
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}]
taggable "patchfilefield"
categorizable