main
Anil Mandepudi 8 years ago committed by GitHub
parent 888577ab24
commit a048d06da5

@ -1,14 +1,14 @@
'use strict'; 'use strict';
var S = require.main.require('string'); var S = require.main.require('string');
var meta = module.parent.require('./meta'); var meta = module.parent.require('./meta');
var user = module.parent.require('./user'); var user = module.parent.require('./user');
var library = {}; var library = {};
library.init = function(params, callback) { library.init = function(params, callback) {
var app = params.router; var app = params.router;
var middleware = params.middleware; var middleware = params.middleware;
app.get('/admin/plugins/persona', middleware.admin.buildHeader, renderAdmin); app.get('/admin/plugins/persona', middleware.admin.buildHeader, renderAdmin);
app.get('/api/admin/plugins/persona', renderAdmin); app.get('/api/admin/plugins/persona', renderAdmin);
@ -117,4 +117,4 @@ library.addUserToTopic = function(data, callback) {
} }
}; };
module.exports = library; module.exports = library;

Loading…
Cancel
Save