aboutsummaryrefslogtreecommitdiffhomepage
path: root/controllers/api/v1
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-02-07 11:47:30 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-02-07 11:47:30 +0100
commita030a9b234d315c180f40d8abd177637c1a91f6a (patch)
treeeadc4abd230e3b9e6f4e789b8f0249e164ddf572 /controllers/api/v1
parent9f10b2928df655c3672d9607e864e667d4bc903a (diff)
downloadPeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.tar.gz
PeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.tar.zst
PeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.zip
Require on the top of the files
Diffstat (limited to 'controllers/api/v1')
-rw-r--r--controllers/api/v1/index.js10
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
5var router = express.Router() 5var router = express.Router()
6 6
7router.use('/pods', require('./pods')) 7var podsController = require('./pods')
8router.use('/remotevideos', require('./remoteVideos')) 8var remoteVideosController = require('./remoteVideos')
9router.use('/videos', require('./videos')) 9var videosController = require('./videos')
10
11router.use('/pods', podsController)
12router.use('/remotevideos', remoteVideosController)
13router.use('/videos', videosController)
10 14
11// --------------------------------------------------------------------------- 15// ---------------------------------------------------------------------------
12 16