Add confirmation dialog for balance reconciliation creates and updates (#2457)

This commit is contained in:
Zach Gollwitzer
2025-07-15 18:58:40 -04:00
committed by GitHub
parent c1d98fe73b
commit 89cc64418e
13 changed files with 180 additions and 49 deletions

View File

@@ -110,7 +110,10 @@ Rails.application.routes.draw do
resources :holdings, only: %i[index new show destroy]
resources :trades, only: %i[show new create update destroy]
resources :valuations, only: %i[show new create update destroy]
resources :valuations, only: %i[show new create update destroy] do
post :confirm_create, on: :collection
post :confirm_update, on: :member
end
namespace :transactions do
resource :bulk_deletion, only: :create