Sha256: 872a982eafef87f553bb6bced6a01b186fdd686374b7b9b989a6f42e13cb0977
Contents?: true
Size: 585 Bytes
Versions: 4
Compression:
Stored size: 585 Bytes
Contents
# frozen_string_literal: true Spree::Backend::Config.configure do |config| config.menu_items.detect { |menu_item| menu_item.label == :settings }.sections << :review_settings end Deface::Override.new( virtual_path: "spree/admin/shared/_settings_sub_menu", name: "converted_admin_configurations_menu", insert_bottom: "[data-hook='admin_settings_sub_tabs']", disabled: false ) do <<-HTML <% if can? :admin, Spree::ReviewsConfiguration %> <%= tab :reviews, url: spree.edit_admin_review_settings_path, match_path: /review_settings/ %> <% end %> HTML end
Version data entries
4 entries across 4 versions & 1 rubygems