From 4fc6746de3576f275101b76415e9aa0a6f0fd9a8 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 1 Oct 2019 22:26:53 +0800 Subject: [PATCH] Update engine.rb,fix some bug --- lib/patchfile/engine.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/patchfile/engine.rb b/lib/patchfile/engine.rb index 1e9ba37..a9a916c 100644 --- a/lib/patchfile/engine.rb +++ b/lib/patchfile/engine.rb @@ -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