Sha256: 42a180a056edf2bf530909722ad92fbc0099309c713e4997c24effc7d1575cf4
Contents?: true
Size: 419 Bytes
Versions: 3
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true Spree::Backend::Config.configure do |config| config.menu_items.detect { |menu_item| menu_item.label == :products }.sections << :prototypes end Deface::Override.new( virtual_path: "spree/admin/shared/_product_sub_menu", name: "prototypes_admin_tab", insert_bottom: "[data-hook='admin_product_sub_tabs']", text: "<%= tab :prototypes if can?(:admin, Spree::Prototype) %>" )
Version data entries
3 entries across 3 versions & 1 rubygems