Update sidebar order and icon.

This commit is contained in:
BoHung Chiu 2021-06-22 18:56:44 +08:00
parent ddf868fb2f
commit 8fc0ec5abf
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ module CustomAnnouncement
puts ['there_was_no_show_option_method',e]
end
side_bar do
head_label_i18n 'custom_announcement.custom_announcement', icon_class: "icons-megaphone"
set_sidebar_order(100) rescue nil
head_label_i18n 'custom_announcement.custom_announcement', icon_class: "icon-bullhorn"
available_for "users"
active_for_controllers (['admin/custom_announcements'])
head_link_path "admin_custom_announcements_path"