Prepare to support ruby 3.3.
This commit is contained in:
parent
2ebdf132f1
commit
939619c090
|
@ -1,6 +1,7 @@
|
||||||
module PageContent
|
module PageContent
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
initializer "page_content" do
|
initializer "page_content" do
|
||||||
|
Rails.application.config.to_prepare do
|
||||||
OrbitApp.registration "PageContent", :type => "ModuleApp" do
|
OrbitApp.registration "PageContent", :type => "ModuleApp" do
|
||||||
module_label "page_content.page_content"
|
module_label "page_content.page_content"
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
|
@ -31,4 +32,5 @@ module PageContent
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue