Update sidebar order and icon.
This commit is contained in:
parent
977cf08724
commit
a64898356e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue