Skip to content

Commit

Permalink
Use default Spree::Event::Adapter
Browse files Browse the repository at this point in the history
On installing this version (currenlty unreleased) of Solidus, we
no longer support the ActiveSupport Notification adaptor, but rather
the new `Spree::Event::Adapters::Default`

This commit add that configuration to the spree.rb template so every
generated install is using the new defaults.
  • Loading branch information
peterberkenbosch committed Dec 1, 2021
1 parent 51eca78 commit d50fc68
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "spree/event/adapters/default"

# Configure Solidus Preferences
# See http://docs.solidus.io/Spree/AppConfiguration.html for details

Expand Down Expand Up @@ -31,6 +33,8 @@ Spree.config do |config|
# to a custom users role:
# config.roles.assign_permissions :role_name, ['Spree::PermissionSets::CustomPermissionSet']

# Default event adapter:
config.events.adapter = Spree::Event::Adapters::Default.new

# Frontend:

Expand Down

0 comments on commit d50fc68

Please sign in to comment.