diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-01-30 17:05:22 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-01-30 17:05:22 +0100 |
commit | cda021079ff455cc0fd0eb95a5395fa808ab63d1 (patch) | |
tree | 056716de7460462b74b861051a5e9da6e2633fce /controllers/index.js | |
parent | 86435b9baedfe300a28ea4545511c1b50d4119f6 (diff) | |
download | PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.gz PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.zst PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.zip |
New directory organization
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 | })() | ||