foodsoft/plugins/automatic_invoices/config/routes.rb

7 lines
295 B
Ruby

Rails.application.routes.draw do
post 'finance/group_order_invoice', to: 'group_order_invoices#create_multiple'
get 'orders/:order_id/group_order_invoices/download_all', to: 'group_order_invoices#download_all', as: 'download_all_group_order_invoices'
resources :group_order_invoices
end