delete > remove

This commit is contained in:
Sam Wing 2019-11-17 13:08:29 -05:00
parent a037672ba5
commit 6ef71eec6a

View file

@ -82,7 +82,7 @@ block content
td(data-label='Delete Item') td(data-label='Delete Item')
form.inline( form.inline(
method='POST', method='POST',
action=`/wishlist/${req.params.user}/${req.user._id === req.params.user ? 'delete' : 'unpledge'}/${item.id}` action=`/wishlist/${req.params.user}/${req.user._id === req.params.user ? 'remove' : 'unpledge'}/${item.id}`
) )
.field.inline .field.inline
.control.inline .control.inline