budget/app/views/expenses/_expense.json.jbuilder

2 lines
157 B
Ruby

json.extract! expense, :id, :description, :payment, :period, :credit_card, :estimated, :created_at, :updated_at
json.url expense_url(expense, format: :json)