Prepare to support ruby 3.3.

This commit is contained in:
邱博亞 2024-02-24 21:03:55 +08:00
parent fff114e183
commit f8a505911d
1 changed files with 49 additions and 47 deletions

View File

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