mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
I have not managed to make the spree checkout route, that paypal express uses, go to CheckoutController directly. According to the rails docs "to: '/checkout#edit'" should do it, but it doesnt work here.
9 lines
154 B
Ruby
9 lines
154 B
Ruby
module Spree
|
|
class CheckoutController < Spree::StoreController
|
|
def edit
|
|
flash.keep
|
|
redirect_to main_app.checkout_path
|
|
end
|
|
end
|
|
end
|