Skip to content

Commit

Permalink
Fixing previous changes in engine.rb too
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajkumar committed Jul 4, 2021
1 parent 76a1a76 commit 690b9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solidus_razorpay/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.activate
end

initializer 'spree.gateway.payment_methods', after: 'spree.register.payment_methods' do |app|
app.config.spree.payment_methods << SolidusRazorpay::Gateway::RazorpayGateway
app.config.spree.payment_methods << Spree::Gateway::RazorpayGateway
end

config.to_prepare &method(:activate).to_proc
Expand Down

0 comments on commit 690b9b5

Please sign in to comment.