Basic donation records

Adds donation model/table and basic manual management in the admin
panel, as well as basic listing of users' own donations.
This commit is contained in:
2020-12-17 21:55:16 +01:00
parent f3d6e29e4e
commit 40f3e8327a
25 changed files with 333 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
json.extract! donation, :id, :user_id, :amount_sats, :amount_eur, :amount_usd, :public_name, :created_at, :updated_at
json.url donation_url(donation, format: :json)