mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update translation scope for PayPal checkout cancellation message
This commit is contained in:
@@ -3,7 +3,7 @@ Spree::PaypalController.class_eval do
|
||||
before_filter :enable_embedded_shopfront
|
||||
|
||||
def cancel
|
||||
flash[:notice] = t('flash.cancel', :scope => 'paypal')
|
||||
flash[:notice] = Spree.t('flash.cancel', :scope => 'paypal')
|
||||
redirect_to main_app.checkout_path
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user