Update sidebar order and icon.
This commit is contained in:
parent
977cf08724
commit
a64898356e
|
@ -44,14 +44,14 @@ module CustomGallery
|
||||||
authorizable
|
authorizable
|
||||||
frontend_enabled
|
frontend_enabled
|
||||||
data_count 1..30
|
data_count 1..30
|
||||||
|
|
||||||
begin
|
begin
|
||||||
show_option_items data
|
show_option_items data
|
||||||
rescue => e
|
rescue => e
|
||||||
puts ['there_was_no_show_option_method',e]
|
puts ['there_was_no_show_option_method',e]
|
||||||
end
|
end
|
||||||
side_bar do
|
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"
|
available_for "users"
|
||||||
active_for_controllers (['admin/custom_galleries','admin/images'])
|
active_for_controllers (['admin/custom_galleries','admin/images'])
|
||||||
head_link_path "admin_custom_galleries_path"
|
head_link_path "admin_custom_galleries_path"
|
||||||
|
|
Loading…
Reference in New Issue