From 38b832cec2d7c272bda9389bb0902765140ca45f Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 27 Feb 2024 17:43:49 +0100 Subject: [PATCH] fix route to admin#order#invoice#generate --- config/routes/spree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes/spree.rb b/config/routes/spree.rb index 462073b486f..f59e4e7dcae 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -110,7 +110,7 @@ resources :adjustments resources :invoices, only: [:index] resource :invoices, only: [] do - post :generate, to: :generate + post :generate end resources :payments do