mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Move routes for enterprise fee summary to engine
This commit is contained in:
@@ -29,12 +29,6 @@ Spree::Core::Engine.routes.prepend do
|
||||
match '/admin/payment_methods/show_provider_preferences' => 'admin/payment_methods#show_provider_preferences', :via => :get
|
||||
put 'credit_cards/new_from_token', to: 'credit_cards#new_from_token'
|
||||
|
||||
namespace :admin do
|
||||
namespace :reports do
|
||||
resource :enterprise_fee_summary, only: [:new, :create]
|
||||
end
|
||||
end
|
||||
|
||||
resources :credit_cards
|
||||
|
||||
namespace :api, :defaults => { :format => 'json' } do
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
OrderManagement::Engine.routes.draw do
|
||||
Spree::Core::Engine.routes.prepend do
|
||||
namespace :admin do
|
||||
namespace :reports do
|
||||
resource :enterprise_fee_summary, only: [:new, :create]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user