18 lines
503 B
Ruby
18 lines
503 B
Ruby
module AdBanner
|
|
class Engine < ::Rails::Engine
|
|
initializer "ad_banner" do
|
|
OrbitApp.registration "AdBanner", :type => "ModuleApp" do
|
|
module_label "ad_banner.ad_banner"
|
|
base_url File.expand_path File.dirname(__FILE__)
|
|
widget_methods ["widget"]
|
|
|
|
side_bar do
|
|
head_label_i18n 'ad_banner.ad_banner', icon_class: "icons-landscape"
|
|
active_for_controllers ({:private=>['ad_banner']})
|
|
head_link_path "admin_ad_banners_path"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|