3 const presentCreateRoomDialog = require('../ensured/present-create-room-dialog');
4 const presentCreateCommunityDialog = require('../ensured/present-create-community-dialog');
5 const presentExportUserDataDialog = require('../ensured/present-export-user-data-dialog');
7 function createRoutes() {
9 'createroom(/:name)': function(initialRoomName) {
10 presentCreateRoomDialog({
11 initialRoomName: initialRoomName
15 createcommunity: function() {
16 presentCreateCommunityDialog();
19 'export-user-data': function() {
20 presentExportUserDataDialog();
25 module.exports = createRoutes;