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"]
|
2014-04-07 09:32:44 +00:00
|
|
|
|
|
|
|
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
|