update field guide flash message
parent
bd400c2aef
commit
b606450aec
|
@ -79,10 +79,9 @@ exports.returnNextFieldGuide = function(req, res, next) {
|
|||
if (req.user.completedFieldGuides.length > 0) {
|
||||
req.flash('success', {
|
||||
msg: [
|
||||
"You've read all our current Field Guide entries. You can ",
|
||||
'contribute to our Field Guide ',
|
||||
"<a href='https://github.com/FreeCodeCamp/freecodecamp/blob/",
|
||||
"staging/seed_data/field-guides.json'>here</a>."
|
||||
"You've read all our current Field Guide entries. If you have ",
|
||||
'ideas for other Field Guide articles, please let us know on ',
|
||||
"<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>."
|
||||
].join('')
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue