diff --git a/lib/custom_gallery/engine.rb b/lib/custom_gallery/engine.rb index 01af13e..a214a41 100644 --- a/lib/custom_gallery/engine.rb +++ b/lib/custom_gallery/engine.rb @@ -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"