Prepare to support ruby 3.3.

This commit is contained in:
邱博亞 2024-02-24 20:45:38 +08:00
parent d49edd789e
commit 3001b51332
1 changed files with 28 additions and 26 deletions

View File

@ -1,6 +1,7 @@
module AdBanner
class Engine < ::Rails::Engine
initializer "ad_banner" do
Rails.application.config.to_prepare do
OrbitApp.registration "AdBanner", :type => "ModuleApp" do
module_label "ad_banner.ad_banner"
base_url File.expand_path File.dirname(__FILE__)
@ -35,3 +36,4 @@ module AdBanner
end
end
end
end