summaryrefslogtreecommitdiff
path: root/app/overrides/views/admin_subscriptions_menu_link.rb
blob: aaffe33c7207b13b427886f8950d21db9db0ca29 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

if !Spree::Backend::Config.respond_to?(:menu_items)
  Deface::Override.new(
    virtual_path: 'spree/admin/shared/_menu',
    name: :add_subcriptions_admin_link,
    insert_bottom: "[data-hook='admin_tabs']",
    partial: 'spree/admin/shared/subscription_tab'
  )
end