Skip to content

Commit

Permalink
Fix deprecation warnings, issue solidusio#294
Browse files Browse the repository at this point in the history
  • Loading branch information
erwin committed Jun 15, 2024
1 parent 1149f41 commit ea54b8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/solidus_subscriptions/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class Engine < Rails::Engine

::Spree::Backend::Config.configure do |config|
config.menu_items << config.class::MenuItem.new(
[:subscriptions],
'repeat',
label: :subscriptions,
icon: 'repeat',
url: :admin_subscriptions_path,
condition: ->{ can?(:admin, SolidusSubscriptions::Subscription) },
match_path: '/subscriptions'
Expand Down

0 comments on commit ea54b8a

Please sign in to comment.