<%= notice %>
Name | Amount | |||
---|---|---|---|---|
<%= expense.name %> | <%= expense.amount %> | <%= link_to "Show", expense %> | <%= link_to "Edit", edit_expense_path(expense) %> | <%= link_to "Destroy", expense, method: :delete, data: { confirm: "Are you sure?" } %> | <% end %> <%= link_to "New expense", new_expense_path %>