Prepare to support ruby 3.3.
This commit is contained in:
parent
d49edd789e
commit
3001b51332
|
@ -1,6 +1,7 @@
|
||||||
module AdBanner
|
module AdBanner
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
initializer "ad_banner" do
|
initializer "ad_banner" do
|
||||||
|
Rails.application.config.to_prepare do
|
||||||
OrbitApp.registration "AdBanner", :type => "ModuleApp" do
|
OrbitApp.registration "AdBanner", :type => "ModuleApp" do
|
||||||
module_label "ad_banner.ad_banner"
|
module_label "ad_banner.ad_banner"
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
|
@ -35,3 +36,4 @@ module AdBanner
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue