Gitter migration: Point people to app.gitter.im (rollout pt. 1)
[gitter.git] / public / js / routes / user-routes.js
blob9be8c093c49a0e987acf3cace1392b106d5f50f2
1 'use strict';
3 function createRoutes(/* options */) {
4   return {
5     'delete-account': function() {
6       var dialogRegion = this.dialogRegion;
8       require.ensure(['../views/modals/delete-room-view'], function(require) {
9         var DeleteModal = require('../views/modals/delete-account-view');
11         dialogRegion.show(new DeleteModal({}));
12       });
13     }
14   };
17 module.exports = createRoutes;