diff options
Diffstat (limited to 'controllers/index.js')
-rw-r--r-- | controllers/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/controllers/index.js b/controllers/index.js new file mode 100644 index 000000000..7dca002ff --- /dev/null +++ b/controllers/index.js | |||
@@ -0,0 +1,12 @@ | |||
1 | ;(function () { | ||
2 | 'use strict' | ||
3 | |||
4 | var constants = require('../initializers/constants') | ||
5 | |||
6 | var routes = { | ||
7 | api: require('./api/' + constants.API_VERSION), | ||
8 | views: require('./views') | ||
9 | } | ||
10 | |||
11 | module.exports = routes | ||
12 | })() | ||