Add API v1 financial_transactions POST endpoint

In a first step we allow members to create financial transactions
for their own ordergroup.
This commit is contained in:
Patrick Gansterer 2021-02-18 12:37:22 +01:00
parent 9d68abd908
commit e6061e6760
6 changed files with 211 additions and 18 deletions

View file

@ -265,7 +265,7 @@ Rails.application.routes.draw do
namespace :user do
root to: 'users#show'
resources :financial_transactions, only: [:index, :show]
resources :financial_transactions, only: [:index, :show, :create]
resources :group_order_articles
end