diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:23:23 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:23:23 +0100 |
commit | 9f10b2928df655c3672d9607e864e667d4bc903a (patch) | |
tree | 7743911b974b3a7fb0d4c7cec2a723942466b7f1 /controllers/api/v1/index.js | |
parent | d7c01e7793d813d804a3b5716d8288f9dcf71a16 (diff) | |
download | PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.tar.gz PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.tar.zst PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.zip |
Remove useless anonymous functions of files
Diffstat (limited to 'controllers/api/v1/index.js')
-rw-r--r-- | controllers/api/v1/index.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/controllers/api/v1/index.js b/controllers/api/v1/index.js index b16eeb0f6..fc6bf4946 100644 --- a/controllers/api/v1/index.js +++ b/controllers/api/v1/index.js | |||
@@ -1,15 +1,13 @@ | |||
1 | ;(function () { | 1 | 'use strict' |
2 | 'use strict' | ||
3 | 2 | ||
4 | var express = require('express') | 3 | var express = require('express') |
5 | 4 | ||
6 | var router = express.Router() | 5 | var router = express.Router() |
7 | 6 | ||
8 | router.use('/pods', require('./pods')) | 7 | router.use('/pods', require('./pods')) |
9 | router.use('/remotevideos', require('./remoteVideos')) | 8 | router.use('/remotevideos', require('./remoteVideos')) |
10 | router.use('/videos', require('./videos')) | 9 | router.use('/videos', require('./videos')) |
11 | 10 | ||
12 | // --------------------------------------------------------------------------- | 11 | // --------------------------------------------------------------------------- |
13 | 12 | ||
14 | module.exports = router | 13 | module.exports = router |
15 | })() | ||