Merge pull request #1873 from patlanders/staging

Typo fix: change "opps!" to "Oops!" in error-handlers.js
This commit is contained in:
benmcmahon100
2015-08-17 20:24:41 +01:00

View File

@ -22,7 +22,7 @@ export default function prodErrorHandler() {
var accept = accepts(req);
var type = accept.type('html', 'json', 'text');
var message = 'opps! Something went wrong. Please try again later';
var message = 'Oops! Something went wrong. Please try again later';
if (type === 'html') {
if (typeof req.flash === 'function') {
req.flash('errors', {