Fix bug for old kernel version.
This commit is contained in:
parent
89760f23e5
commit
f12010f1d8
|
@ -1,8 +1,8 @@
|
|||
require "yaml"
|
||||
module PersonalPluginGenerator
|
||||
class Engine < ::Rails::Engine
|
||||
begin
|
||||
initializer "personal_plugin_generator" do
|
||||
initializer "personal_plugin_generator" do
|
||||
begin
|
||||
OrbitApp.registration "PersonalPluginGenerator", :type => "OrbitMemberModule" do
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
categorizable
|
||||
|
@ -19,9 +19,7 @@ module PersonalPluginGenerator
|
|||
:available_for => 'users'
|
||||
end
|
||||
end
|
||||
end
|
||||
rescue
|
||||
initializer "personal_plugin_generator" do
|
||||
rescue
|
||||
OrbitApp.registration "PersonalPluginGenerator", :type => "ModuleApp" do
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
categorizable
|
||||
|
|
Loading…
Reference in New Issue