diff options
Diffstat (limited to 'controllers/api/v1/index.js')
-rw-r--r-- | controllers/api/v1/index.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/controllers/api/v1/index.js b/controllers/api/v1/index.js index fc6bf4946..07a68ed9d 100644 --- a/controllers/api/v1/index.js +++ b/controllers/api/v1/index.js | |||
@@ -4,9 +4,13 @@ var express = require('express') | |||
4 | 4 | ||
5 | var router = express.Router() | 5 | var router = express.Router() |
6 | 6 | ||
7 | router.use('/pods', require('./pods')) | 7 | var podsController = require('./pods') |
8 | router.use('/remotevideos', require('./remoteVideos')) | 8 | var remoteVideosController = require('./remoteVideos') |
9 | router.use('/videos', require('./videos')) | 9 | var videosController = require('./videos') |
10 | |||
11 | router.use('/pods', podsController) | ||
12 | router.use('/remotevideos', remoteVideosController) | ||
13 | router.use('/videos', videosController) | ||
10 | 14 | ||
11 | // --------------------------------------------------------------------------- | 15 | // --------------------------------------------------------------------------- |
12 | 16 | ||