module.exports = function(app) {

    app.get('/voz/api/samplePhrase', function(req, res) {
        // Sample phrases
        var samplePhrases = [
            {
                'phrase': 'Eu vou comer agora mesmo', 
                'lang': 'pt'
            }, 
            {
                'phrase': 'Por que trabalho hoje', 
                'lang': 'pt'
            }, 
            {
                'phrase': 'How are you today', 
                'lang': 'en'
            },
            {
                'phrase': 'Everything is awesome', 
                'lang': 'en'
            }, 
            {
                'phrase': 'You rock', 
                'lang': 'en'
            },
            {
                'phrase': 'cómo estás',
                'lang': 'es'
            }
        ]

        // Return random sample phrase.
        res.send(samplePhrases[Math.floor(Math.random() * samplePhrases.length)]);
    });
}
module.exports = function(app) {

    app.get('/voz/api/samplePhrase', function(req, res) {
        // Sample phrases
        var samplePhrases = [
            {
                'phrase': 'Eu vou comer agora mesmo', 
                'lang': 'pt'
            }, 
            {
                'phrase': 'Por que trabalho hoje', 
                'lang': 'pt'
            }, 
            {
                'phrase': 'How are you today', 
                'lang': 'en'
            },
            {
                'phrase': 'Everything is awesome', 
                'lang': 'en'
            }, 
            {
                'phrase': 'You rock', 
                'lang': 'en'
            }
        ]

        // Return random sample phrase.
        res.send(samplePhrases[Math.floor(Math.random() * samplePhrases.length)]);
    });
}
Revert "Merged branch master into master"
Revert "Merged branch master into master"

This reverts commit 8de34a3f733d4a270ec4d1869f543c8ccd220cf9.