Created
January 29, 2018 20:50
-
-
Save watzon/3afacbba5a6e19ceabb4f3d652d9c45f 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
router.get("/", async (req, res) => { | |
const texts = await TextBlock.find({}) | |
const others = await otherModels.find({}) | |
res.render("adminSite/intro", { texts, others }); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment