From 33b9ad4084a3d9defc620018172aa4aa842849ec Mon Sep 17 00:00:00 2001 From: Mario Colque Date: Mon, 3 Feb 2014 15:09:24 -0300 Subject: [PATCH] added new endpoint /api/currency --- config/routes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes.js b/config/routes.js index 72b2b01c..317e19dc 100644 --- a/config/routes.js +++ b/config/routes.js @@ -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);