Sha256: bb3d797bb1932a8262b28521980f4ba1c95a40ed1bd286f67b70d654c3d8a1f8
Contents?: true
Size: 583 Bytes
Versions: 1
Compression:
Stored size: 583 Bytes
Contents
Rails.application.config.after_initialize do Rails.application.config.spree_backend.main_menu.add( Spree::Admin::MainMenu::SectionBuilder .new('seven', 'envelope.svg') .with_label_translation_key('seven.name') .with_items( [ Spree::Admin::MainMenu::ItemBuilder.new('seven.sms', '/admin/seven/sms') .build, Spree::Admin::MainMenu::ItemBuilder.new('seven.settings', '/admin/seven_settings/edit') .build ] ) .build ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_seven-0.0.1 | config/initializers/menu.rb |