diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-01-31 11:23:52 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-01-31 11:23:52 +0100 |
commit | c45f7f84001c2731909db04dd82e1c1f290386eb (patch) | |
tree | b7e57420a1f65dfbbacc1a532bf489c9bea6125d /controllers/index.js | |
parent | cda021079ff455cc0fd0eb95a5395fa808ab63d1 (diff) | |
download | PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.tar.gz PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.tar.zst PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.zip |
Infile code reorganization
Diffstat (limited to 'controllers/index.js')
-rw-r--r-- | controllers/index.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/controllers/index.js b/controllers/index.js index 7dca002ff..770d08248 100644 --- a/controllers/index.js +++ b/controllers/index.js | |||
@@ -3,10 +3,8 @@ | |||
3 | 3 | ||
4 | var constants = require('../initializers/constants') | 4 | var constants = require('../initializers/constants') |
5 | 5 | ||
6 | var routes = { | 6 | module.exports = { |
7 | api: require('./api/' + constants.API_VERSION), | 7 | api: require('./api/' + constants.API_VERSION), |
8 | views: require('./views') | 8 | views: require('./views') |
9 | } | 9 | } |
10 | |||
11 | module.exports = routes | ||
12 | })() | 10 | })() |