From 69a52ad3e193aa230e0722d6ca418b2ed49f1434 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Thu, 6 Feb 2014 08:40:14 -0500 Subject: [PATCH] Add comment blocks for twilio get and post controllers --- controllers/api.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/controllers/api.js b/controllers/api.js index dbccef89a2..53493b8672 100644 --- a/controllers/api.js +++ b/controllers/api.js @@ -383,12 +383,23 @@ exports.getSteam = function(req, res, next) { }); }; +/** + * GET /api/twilio + * Twilio API example. + */ + exports.getTwilio = function(req, res, next) { res.render('api/twilio', { title: 'Twilio API' }); }; + +/** + * POST /api/twilio + * Twilio API example. + */ + exports.postTwilio = function(req, res, next) { var message = { to: req.body.telephone,