added new endpoint /api/currency

This commit is contained in:
Mario Colque 2014-02-03 15:09:24 -03:00
parent 81fbb44516
commit 33b9ad4084
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ module.exports = function(app) {
app.get('/api/sync', st.sync);
// Currency
var currency = require('../app/controllers/currency');
app.get('/api/currency', currency.index);
//Home route
var index = require('../app/controllers/index');
app.get('/api/version', index.version);