Created
October 31, 2017 02:56
-
-
Save aviflombaum/f6290c96e4dd159125dfc69e10b82466 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
IceBreakersController.Show = async function(req, res, next){ | |
let icebreaker = await IceBreaker.findBySecret(req.query.secret); | |
let icebreakerResponses = await icebreaker.responses(); | |
console.log(icebreaker) | |
console.log(icebreakerResponses) | |
res.render("icebreakers/show", {icebreaker: icebreaker, icebreakerResponses: icebreakerResponses}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment