Skip to content

Commit a208edd

Browse files
committed
Adhere to hound suggestions
1 parent 7e7ee95 commit a208edd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/app/controllers/spree/checkout_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def before_payment
207207
end
208208
end
209209

210-
if spree_current_user && spree_current_user.respond_to?(:wallet)
210+
if spree_current_user&.respond_to?(:wallet)
211211
@wallet_payment_sources = spree_current_user.wallet.wallet_payment_sources
212212
@default_wallet_payment_source = @wallet_payment_sources.detect(&:default) ||
213213
@wallet_payment_sources.first

0 commit comments

Comments
 (0)