diff options
Diffstat (limited to 'routes/index.js')
-rw-r--r-- | routes/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js index ecca80721..f45aa7ba5 100644 --- a/routes/index.js +++ b/routes/index.js | |||
@@ -1,8 +1,10 @@ | |||
1 | ;(function () { | 1 | ;(function () { |
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var constants = require('../src/constants') | ||
5 | |||
4 | var routes = { | 6 | var routes = { |
5 | api: require('./api/' + global.API_VERSION), | 7 | api: require('./api/' + constants.API_VERSION), |
6 | views: require('./views') | 8 | views: require('./views') |
7 | } | 9 | } |
8 | 10 | ||