Fix Investment account subtype not saving on creation (#1039)

* Add permitted_accountable_attributes for investments

* Include fields_for for accountable subtype selection
This commit is contained in:
Duc-Thomas
2026-02-23 23:47:49 +01:00
committed by GitHub
parent 430c95e278
commit 7e912c1c93
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
class InvestmentsController < ApplicationController
include AccountableResource
permitted_accountable_attributes :id, :subtype
end