Prepare to support ruby 3.3.
This commit is contained in:
parent
55c8d3d3da
commit
681bbbec87
|
@ -1,6 +1,7 @@
|
||||||
module WebResource
|
module WebResource
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
initializer "web_resource" do
|
initializer "web_resource" do
|
||||||
|
Rails.application.config.to_prepare do
|
||||||
OrbitApp.registration "WebResource", :type => "ModuleApp" do
|
OrbitApp.registration "WebResource", :type => "ModuleApp" do
|
||||||
module_label "web_resource.web_resource"
|
module_label "web_resource.web_resource"
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
|
@ -56,3 +57,4 @@ module WebResource
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue