2018-08-13 21:11:21 +10:00
|
|
|
const AppRouter = require('marionette.approuter');
|
2018-06-20 08:48:14 +10:00
|
|
|
const Controller = require('./controller');
|
|
|
|
|
2018-08-13 21:11:21 +10:00
|
|
|
module.exports = AppRouter.default.extend({
|
|
|
|
controller: Controller,
|
|
|
|
appRoutes: {
|
2018-08-02 19:48:47 +10: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',
|
2019-03-04 21:19:36 +10:00
|
|
|
'settings': 'showSettings',
|
2018-08-02 19:48:47 +10:00
|
|
|
'*default': 'showDashboard'
|
2018-06-20 08:48:14 +10:00
|
|
|
}
|
|
|
|
});
|