2018-08-13 07:11:21 -04:00
|
|
|
const AppRouter = require('marionette.approuter');
|
2018-06-19 18:48:14 -04:00
|
|
|
const Controller = require('./controller');
|
|
|
|
|
2018-08-13 07:11:21 -04:00
|
|
|
module.exports = AppRouter.default.extend({
|
|
|
|
controller: Controller,
|
|
|
|
appRoutes: {
|
2021-10-10 17:49:07 -04:00
|
|
|
users: 'showUsers',
|
|
|
|
logout: 'logout',
|
|
|
|
'nginx/proxy': 'showNginxProxy',
|
|
|
|
'nginx/redirection': 'showNginxRedirection',
|
|
|
|
'nginx/404': 'showNginxDead',
|
|
|
|
'nginx/ssl-passthrough': 'showNginxSslPassthrough',
|
|
|
|
'nginx/stream': 'showNginxStream',
|
|
|
|
'nginx/access': 'showNginxAccess',
|
|
|
|
'nginx/certificates': 'showNginxCertificates',
|
|
|
|
'audit-log': 'showAuditLog',
|
|
|
|
'settings': 'showSettings',
|
|
|
|
'*default': 'showDashboard'
|
2018-06-19 18:48:14 -04:00
|
|
|
}
|
|
|
|
});
|