Merge branch 'fix/theme-flash' of https://github.com/BerkeleyTrue/FreeCodeCamp into BerkeleyTrue-fix/theme-flash

Conflicts:
	common/models/user.js
This commit is contained in:
Quincy Larson
2016-05-12 21:28:29 -07:00
11 changed files with 173 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ export function ifNoUserRedirectTo(url, message, type = 'errors') {
}
req.flash(type, {
msg: message || `You must be signed to go to ${path}`
msg: message || `You must be signed in to access ${path}`
});
return res.redirect(url);