|
|
@ -5,6 +5,7 @@ var topicsController = require('./topics'),
|
|
|
|
usersController = require('./users'),
|
|
|
|
usersController = require('./users'),
|
|
|
|
accountsController = require('./accounts'),
|
|
|
|
accountsController = require('./accounts'),
|
|
|
|
staticController = require('./static'),
|
|
|
|
staticController = require('./static'),
|
|
|
|
|
|
|
|
apiController = require('./api'),
|
|
|
|
async = require('async'),
|
|
|
|
async = require('async'),
|
|
|
|
nconf = require('nconf'),
|
|
|
|
nconf = require('nconf'),
|
|
|
|
auth = require('./../routes/authentication'),
|
|
|
|
auth = require('./../routes/authentication'),
|
|
|
@ -21,7 +22,8 @@ var Controllers = {
|
|
|
|
categories: categoriesController,
|
|
|
|
categories: categoriesController,
|
|
|
|
users: usersController,
|
|
|
|
users: usersController,
|
|
|
|
accounts: accountsController,
|
|
|
|
accounts: accountsController,
|
|
|
|
static: staticController
|
|
|
|
static: staticController,
|
|
|
|
|
|
|
|
api: apiController
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|