diff options
Diffstat (limited to 'controllers/index.js')
-rw-r--r-- | controllers/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/controllers/index.js b/controllers/index.js index 35a0191c5..858f493da 100644 --- a/controllers/index.js +++ b/controllers/index.js | |||
@@ -2,7 +2,10 @@ | |||
2 | 2 | ||
3 | var constants = require('../initializers/constants') | 3 | var constants = require('../initializers/constants') |
4 | 4 | ||
5 | var apiController = require('./api/' + constants.API_VERSION) | ||
6 | var viewsController = require('./views') | ||
7 | |||
5 | module.exports = { | 8 | module.exports = { |
6 | api: require('./api/' + constants.API_VERSION), | 9 | api: apiController, |
7 | views: require('./views') | 10 | views: viewsController |
8 | } | 11 | } |