Refactor Investment Contributions category handling to use a centralized constant and streamline related logic.

This commit is contained in:
luckyPipewrench
2026-01-20 17:18:49 -05:00
parent 196d12466f
commit 4727a391a7
9 changed files with 25 additions and 21 deletions

View File

@@ -37,7 +37,7 @@
variant: "link",
text: t("accounts.show.activity.new_transfer"),
icon: "arrow-right-left",
href: new_transfer_path,
href: new_transfer_path(from_account_id: account.id),
data: { turbo_frame: :modal }) %>
<% end %>
</div>