welcome: move to index, icingaweb2/director
This commit is contained in:
parent
1c36bb3f59
commit
42d2256aa8
|
@ -26,7 +26,7 @@ $section = $this->menuSection(
|
|||
$this->translate('Icinga Director')
|
||||
)->setIcon('cubes');
|
||||
|
||||
$section->add($this->translate('Overview'))->setUrl('director/welcome')->setPriority(20);
|
||||
$section->add($this->translate('Overview'))->setUrl('director')->setPriority(20);
|
||||
$section->add($this->translate('Hosts'))->setUrl('director/hosts')->setPriority(30);
|
||||
$section->add($this->translate('Services'))->setUrl('director/services')->setPriority(40);
|
||||
$section->add($this->translate('Commands'))->setUrl('director/commands')->setPriority(50);
|
||||
|
|
|
@ -128,7 +128,7 @@ abstract class ActionController extends Controller
|
|||
if ($resourceName) {
|
||||
$this->db = Db::fromResourceName($resourceName);
|
||||
} else {
|
||||
$this->redirectNow('director/welcome');
|
||||
$this->redirectNow('director');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ abstract class ObjectsController extends ActionController
|
|||
if (in_array(ucfirst($type), $this->globalTypes)) {
|
||||
$ltype = strtolower($type);
|
||||
$tabs->add('overview', array(
|
||||
'url' => 'director/welcome',
|
||||
'url' => 'director',
|
||||
'label' => $this->translate('Overview')
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue