Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/mvc/controllers/user/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.before = function(req, res, next){
// pretend to query a database...
process.nextTick(function(){
req.user = db.users[id];
// cant find that user
// can't find that user
if (!req.user) return next('route');
// found it, move on to the routes
next();
Expand Down
2 changes: 1 addition & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ res.sendStatus = function sendStatus(statusCode) {
* if (yes) {
* res.sendFile('/uploads/' + uid + '/' + file);
* } else {
* res.send(403, 'Sorry! you cant see that.');
* res.send(403, 'Sorry! you can\'t see that.');
* }
* });
* });
Expand Down
Loading