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