nginx-proxy-manager/src/frontend/js/app/router.js

18 lines
385 B
JavaScript
Raw Normal View History

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: {
users: 'showUsers',
profile: 'showProfile',
logout: 'logout',
'*default': 'showDashboard'
},
initialize: function () {
this.controller = Controller;
}
});