mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-20 04:59:16 +00:00
Adding controller actions and routes for pausing and unpausing a standing order
This commit is contained in:
@@ -179,6 +179,8 @@ Openfoodnetwork::Application.routes.draw do
|
||||
|
||||
resources :standing_orders, only: [:index, :new, :create, :edit, :update] do
|
||||
put :cancel, on: :member
|
||||
put :pause, on: :member
|
||||
put :unpause, on: :member
|
||||
end
|
||||
|
||||
resources :standing_line_items, only: [], format: :json do
|
||||
|
||||
Reference in New Issue
Block a user