update field guide flash message
This commit is contained in:
@@ -79,10 +79,9 @@ exports.returnNextFieldGuide = function(req, res, next) {
|
|||||||
if (req.user.completedFieldGuides.length > 0) {
|
if (req.user.completedFieldGuides.length > 0) {
|
||||||
req.flash('success', {
|
req.flash('success', {
|
||||||
msg: [
|
msg: [
|
||||||
"You've read all our current Field Guide entries. You can ",
|
"You've read all our current Field Guide entries. If you have ",
|
||||||
'contribute to our Field Guide ',
|
'ideas for other Field Guide articles, please let us know on ',
|
||||||
"<a href='https://github.com/FreeCodeCamp/freecodecamp/blob/",
|
"<a href='https://github.com/freecodecamp/freecodecamp/issues/new?&body=Please describe your idea for a Field Guide article and include links if possible.'>GitHub</a>."
|
||||||
"staging/seed_data/field-guides.json'>here</a>."
|
|
||||||
].join('')
|
].join('')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user