Add comment blocks for twilio get and post controllers

This commit is contained in:
Sahat Yalkabov
2014-02-06 08:40:14 -05:00
parent b303a40aff
commit 69a52ad3e1

View File

@ -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,