Update sidebar order and icon.

This commit is contained in:
BoHung Chiu 2021-06-22 18:57:06 +08:00
parent 977cf08724
commit a64898356e
1 changed files with 2 additions and 2 deletions

View File

@ -44,14 +44,14 @@ module CustomGallery
authorizable
frontend_enabled
data_count 1..30
begin
show_option_items data
rescue => e
puts ['there_was_no_show_option_method',e]
end
side_bar do
head_label_i18n 'custom_gallery.custom_gallery', icon_class: "icons-pictures"
set_sidebar_order(100) rescue nil
head_label_i18n 'custom_gallery.custom_gallery', icon_class: "fa fa-file-image-o"
available_for "users"
active_for_controllers (['admin/custom_galleries','admin/images'])
head_link_path "admin_custom_galleries_path"