Fix typo
This commit is contained in:
parent
0c0942cf64
commit
904b61467d
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ router.post('/subscription/unsubscribe', passport.parseForm, passport.csrfProtec
|
|||
req.flash('danger', err && err.message || err || 'Could not unsubscribe user');
|
||||
return res.redirect('/lists/subscription/' + list.id + '/edit/' + subscription.cid);
|
||||
}
|
||||
req.flash('success', subscription.email + ' was successfully subscribed from your list');
|
||||
req.flash('success', subscription.email + ' was successfully unsubscribed from your list');
|
||||
res.redirect('/lists/view/' + list.id);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue