mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Integrate money-rails gem (#268)
* Integrate money-rails gem * Fix Lint issues * Basic test for monetize feature * Merge main branch * Changes to monetize balance field --------- Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ class AccountsController < ApplicationController
|
||||
private
|
||||
|
||||
def account_params
|
||||
params.require(:account).permit(:name, :accountable_type, :balance, :subtype)
|
||||
params.require(:account).permit(:name, :accountable_type, :balance, :balance_cents, :subtype)
|
||||
end
|
||||
|
||||
def account_type_class
|
||||
|
||||
Reference in New Issue
Block a user