diff options
author | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-10-07 16:28:34 +0200 |
---|---|---|
committer | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-10-07 16:33:44 +0200 |
commit | ae1b46fe30793cecb13a8591e9d753ada9f89039 (patch) | |
tree | 693299715c4e98ed7c626e218d39d363960421b4 /lib/solidus_subscriptions/engine.rb | |
parent | fb0777566944c9deef6cbacd7a7eac335838746a (diff) |
Migrate ability to permission sets
Custom abilities are deprecated in favor of the new permission sets
API.
Diffstat (limited to 'lib/solidus_subscriptions/engine.rb')
-rw-r--r-- | lib/solidus_subscriptions/engine.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/solidus_subscriptions/engine.rb b/lib/solidus_subscriptions/engine.rb index ad43db3..c45ecfc 100644 --- a/lib/solidus_subscriptions/engine.rb +++ b/lib/solidus_subscriptions/engine.rb @@ -47,12 +47,6 @@ module SolidusSubscriptions ) end end - - def self.activate - ::Spree::Ability.register_ability(SolidusSubscriptions::Ability) - end - - config.to_prepare(&method(:activate).to_proc) end def self.table_name_prefix |