Created
October 7, 2016 21:08
-
-
Save otang/5aba45c11ff379cef0d23d93f7929a6e to your computer and use it in GitHub Desktop.
This file contains 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
show: function (req, res) { | |
// any negative consequences of doing this vs waiting for the request to complete and then rendering the view? | |
request('http://www.google.com'); | |
res.view({ | |
title: `Hello world`, | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment