summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions/engine.rb
diff options
context:
space:
mode:
authorAlessandro Desantis <desa.alessandro@gmail.com>2020-10-07 16:28:34 +0200
committerAlessandro Desantis <desa.alessandro@gmail.com>2020-10-07 16:33:44 +0200
commitae1b46fe30793cecb13a8591e9d753ada9f89039 (patch)
tree693299715c4e98ed7c626e218d39d363960421b4 /lib/solidus_subscriptions/engine.rb
parentfb0777566944c9deef6cbacd7a7eac335838746a (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.rb6
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