announcement-test/lib/announcement/engine.rb

16 lines
464 B
Ruby
Raw Normal View History

2014-04-01 07:12:43 +00:00
module Announcement
class Engine < ::Rails::Engine
initializer "announcement" do
OrbitApp.registration "Announcement", :type => "ModuleApp" do
module_label "announcement.announcement"
base_url File.expand_path File.dirname(__FILE__)
2014-04-02 06:44:36 +00:00
widget_methods ["widget"]
side_bar do
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"
head_link_path "admin_announcements_path"
end
2014-04-01 07:12:43 +00:00
end
end
end
end