mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* fix: crypto subtype not persisted by permitting :subtype in CryptosController * Backfill crypto subtype for existig accounts so Trades API works * fix: backfill only unlinked cryptos; use raw SQL in migration; deterministic redirect in test * Update schema.rb for BackfillcryptoSubtypeForTrades migration --------- Signed-off-by: dataCenter430 <161712630+dataCenter430@users.noreply.github.com>
6 lines
148 B
Ruby
6 lines
148 B
Ruby
class CryptosController < ApplicationController
|
|
include AccountableResource
|
|
|
|
permitted_accountable_attributes :id, :subtype, :tax_treatment
|
|
end
|