summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions
diff options
context:
space:
mode:
authorIgor Barbosa <igorbarbosa.p@gmail.com>2020-10-28 18:38:03 -0300
committerIgor Barbosa <igorbarbosa.p@gmail.com>2020-10-30 11:50:47 -0300
commit50da41b350cad3eb5de9383022ef6ab61f4b2933 (patch)
tree4e8194e756210c1204ce6e1b1c530da3306fed3e /lib/solidus_subscriptions
parentdb9913f3b186b0be11976d1daf315d84057e4216 (diff)
Add Subscriptions tab to User page in Admin
Diffstat (limited to 'lib/solidus_subscriptions')
-rw-r--r--lib/solidus_subscriptions/engine.rb3
1 files changed, 2 insertions, 1 deletions
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