-
-
Save yitsushi/1f6b65a28f3b5c97fff8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ... cut | |
| Users.findById(id, function(err, result) { | |
| if (err) { | |
| // OMG! We got an error | |
| return response.redirect('/404.html'); | |
| } | |
| // nice we can do something with user | |
| }); | |
| // ... cut |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment