2 lines
157 B
Ruby
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)
|