Prepare to support ruby 3.3.

This commit is contained in:
邱博亞 2024-02-24 20:58:21 +08:00
parent 55c8d3d3da
commit 681bbbec87
1 changed files with 48 additions and 46 deletions

View File

@ -1,6 +1,7 @@
module WebResource
class Engine < ::Rails::Engine
initializer "web_resource" do
Rails.application.config.to_prepare do
OrbitApp.registration "WebResource", :type => "ModuleApp" do
module_label "web_resource.web_resource"
base_url File.expand_path File.dirname(__FILE__)
@ -55,4 +56,5 @@ module WebResource
end
end
end
end
end