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

52 lines
1.1 KiB

FlowRouter.route('/admin/users', {
name: 'admin-users',
action() {
RocketChat.TabBar.showGroup('adminusers');
BlazeLayout.render('main', {center: 'adminUsers'});
}
});
FlowRouter.route('/admin/rooms', {
name: 'admin-rooms',
action() {
RocketChat.TabBar.showGroup('adminrooms');
BlazeLayout.render('main', {center: 'adminRooms'});
}
});
FlowRouter.route('/admin/info', {
name: 'admin-info',
action() {
RocketChat.TabBar.showGroup('adminInfo');
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() {
RocketChat.TabBar.showGroup('admin');
BlazeLayout.render('main', {center: 'admin'});
}
});