Added url params

This commit is contained in:
jesmg 2016-09-14 11:14:57 +00:00
parent df63aa3199
commit d75d654e5a

View File

@ -12,19 +12,19 @@ var settingsWizard = function ($location, testConnection) {
//Routes
routes.enable();
routes
.when('/agents/', {
.when('/agents/:submenu?', {
template: require('plugins/wazuh/templates/agents.jade'),
resolve: {
"check": settingsWizard
}
})
.when('/manager/', {
.when('/manager/:submenu?', {
template: require('plugins/wazuh/templates/manager.jade'),
resolve: {
"check": settingsWizard
}
})
.when('/ruleset/', {
.when('/ruleset/:submenu?', {
template: require('plugins/wazuh/templates/ruleset.jade'),
resolve: {
"check": settingsWizard