mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
Move checkout_state route from spree to main_app
This commit is contained in:
@@ -68,8 +68,9 @@ Openfoodnetwork::Application.routes.draw do
|
||||
resources :webhooks, only: [:create]
|
||||
end
|
||||
|
||||
get '/checkout', :to => 'checkout#edit' , :as => :checkout
|
||||
put '/checkout', :to => 'checkout#update' , :as => :update_checkout
|
||||
get '/checkout', to: 'checkout#edit' , as: :checkout
|
||||
put '/checkout', to: 'checkout#update' , as: :update_checkout
|
||||
get '/checkout/:state', to: 'checkout#edit', as: :checkout_state
|
||||
get '/checkout/paypal_payment/:order_id', to: 'checkout#paypal_payment', as: :paypal_payment
|
||||
|
||||
get 'embedded_shopfront/shopfront_session', to: 'application#shopfront_session'
|
||||
|
||||
@@ -170,7 +170,6 @@ Spree::Core::Engine.routes.draw do
|
||||
resources :products
|
||||
|
||||
# Used by spree_paypal_express
|
||||
get '/checkout/:state', :to => 'checkout#edit', :as => :checkout_state
|
||||
get '/content/cvv', :to => 'content#cvv', :as => :cvv
|
||||
get '/content/*path', :to => 'content#show', :as => :content
|
||||
get '/paypal', :to => "paypal#express", :as => :paypal_express
|
||||
|
||||
Reference in New Issue
Block a user