aboutsummaryrefslogtreecommitdiffhomepage
path: root/controllers/api/v1/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-01-30 17:05:22 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-01-30 17:05:22 +0100
commitcda021079ff455cc0fd0eb95a5395fa808ab63d1 (patch)
tree056716de7460462b74b861051a5e9da6e2633fce /controllers/api/v1/index.js
parent86435b9baedfe300a28ea4545511c1b50d4119f6 (diff)
downloadPeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.gz
PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.zst
PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.zip
New directory organization
Diffstat (limited to 'controllers/api/v1/index.js')
-rw-r--r--controllers/api/v1/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/controllers/api/v1/index.js b/controllers/api/v1/index.js
new file mode 100644
index 000000000..f5504ad85
--- /dev/null
+++ b/controllers/api/v1/index.js
@@ -0,0 +1,12 @@
1;(function () {
2 'use strict'
3
4 var express = require('express')
5 var router = express.Router()
6
7 router.use('/videos', require('./videos'))
8 router.use('/remotevideos', require('./remoteVideos'))
9 router.use('/pods', require('./pods'))
10
11 module.exports = router
12})()