budget/app/views/credit_card_bills/_credit_card_bill.json.jbuilder

2 lines
148 B
Ruby

json.extract! credit_card_bill, :id, :description, :amount, :created_at, :updated_at
json.url credit_card_bill_url(credit_card_bill, format: :json)