Fix the unrelated tabs

resolves #6934
This commit is contained in:
Alexander Fuhr 2014-08-19 13:17:31 +02:00
parent cd825a4e6b
commit 2f54ff4797
1 changed files with 6 additions and 1 deletions

View File

@ -104,6 +104,11 @@ class ConfigController extends BaseConfigController
*/
public function modulesAction()
{
$this->view->tabs = Widget::create('tabs')->add('modules', array(
'title' => 'Modules',
'url' => 'config/modules'
));
$this->view->tabs->activate('modules');
$this->view->modules = Icinga::app()->getModuleManager()->select()
->from('modules')