2018-06-19 18:48:14 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const Mn = require('../lib/marionette');
|
|
|
|
const Controller = require('./controller');
|
|
|
|
|
|
|
|
module.exports = Mn.AppRouter.extend({
|
|
|
|
appRoutes: {
|
2018-08-02 05:48:47 -04:00
|
|
|
users: 'showUsers',
|
|
|
|
logout: 'logout',
|
|
|
|
'nginx/proxy': 'showNginxProxy',
|
|
|
|
'nginx/redirection': 'showNginxRedirection',
|
|
|
|
'nginx/404': 'showNginxDead',
|
|
|
|
'nginx/stream': 'showNginxStream',
|
|
|
|
'nginx/access': 'showNginxAccess',
|
|
|
|
'nginx/certificates': 'showNginxCertificates',
|
|
|
|
'audit-log': 'showAuditLog',
|
|
|
|
'*default': 'showDashboard'
|
2018-06-19 18:48:14 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
this.controller = Controller;
|
|
|
|
}
|
|
|
|
});
|