The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/routes/adminRouter.js

51 lines
1.1 KiB

import { FlowRouter } from 'meteor/kadira:flow-router' ;
import { BlazeLayout } from 'meteor/kadira:blaze-layout';
FlowRouter.route('/admin/users', {
name: 'admin-users',
action() {
BlazeLayout.render('main', { center: 'adminUsers' });
},
});
FlowRouter.route('/admin/rooms', {
name: 'admin-rooms',
action() {
BlazeLayout.render('main', { center: 'adminRooms' });
},
});
FlowRouter.route('/admin/info', {
name: 'admin-info',
action() {
BlazeLayout.render('main', { center: 'adminInfo' });
},
});
FlowRouter.route('/admin/import', {
name: 'admin-import',
action() {
BlazeLayout.render('main', { center: 'adminImport' });
},
});
FlowRouter.route('/admin/import/prepare/:importer', {
name: 'admin-import-prepare',
action() {
BlazeLayout.render('main', { center: 'adminImportPrepare' });
},
});
FlowRouter.route('/admin/import/progress/:importer', {
name: 'admin-import-progress',
action() {
BlazeLayout.render('main', { center: 'adminImportProgress' });
},
});
FlowRouter.route('/admin/:group?', {
name: 'admin',
action() {
BlazeLayout.render('main', { center: 'admin' });
},
});