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-06-25 21:56:10 -04:00
|
|
|
users: 'showUsers',
|
|
|
|
logout: 'logout',
|
|
|
|
'nginx/proxy': 'showNginxProxy',
|
|
|
|
'nginx/redirection': 'showNginxRedirection',
|
2018-07-08 21:22:10 -04:00
|
|
|
'nginx/404': 'showNginxDead',
|
2018-06-25 21:56:10 -04:00
|
|
|
'nginx/stream': 'showNginxStream',
|
|
|
|
'nginx/access': 'showNginxAccess',
|
2018-07-16 03:00:52 -04:00
|
|
|
'audit-log': 'showAuditLog',
|
2018-06-25 21:56:10 -04:00
|
|
|
'*default': 'showDashboard'
|
2018-06-19 18:48:14 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
this.controller = Controller;
|
|
|
|
}
|
|
|
|
});
|