From 50da41b350cad3eb5de9383022ef6ab61f4b2933 Mon Sep 17 00:00:00 2001 From: Igor Barbosa Date: Wed, 28 Oct 2020 18:38:03 -0300 Subject: Add Subscriptions tab to User page in Admin --- lib/solidus_subscriptions/engine.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/solidus_subscriptions/engine.rb b/lib/solidus_subscriptions/engine.rb index c45ecfc..2f3067e 100644 --- a/lib/solidus_subscriptions/engine.rb +++ b/lib/solidus_subscriptions/engine.rb @@ -43,7 +43,8 @@ module SolidusSubscriptions [:subscriptions], 'repeat', url: :admin_subscriptions_path, - condition: ->{ can?(:admin, SolidusSubscriptions::Subscription) } + condition: ->{ can?(:admin, SolidusSubscriptions::Subscription) }, + match_path: '/subscriptions' ) end end -- cgit v1.2.3