mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Monitoring\Controller: add $url to all views
There are too many view scripts fiddling with namespaces. There is still the url helper, not sure why it's not going to be used. I may roll this back one far day...
This commit is contained in:
parent
ecf84077e5
commit
ccb01aa152
@ -30,6 +30,7 @@
|
|||||||
namespace Icinga\Module\Monitoring;
|
namespace Icinga\Module\Monitoring;
|
||||||
|
|
||||||
use Icinga\Web\Controller\ActionController;
|
use Icinga\Web\Controller\ActionController;
|
||||||
|
use Icinga\Web\Url;
|
||||||
use Icinga\File\Csv;
|
use Icinga\File\Csv;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -57,6 +58,7 @@ class Controller extends ActionController
|
|||||||
protected function moduleInit()
|
protected function moduleInit()
|
||||||
{
|
{
|
||||||
$this->backend = Backend::createBackend($this->_getParam('backend'));
|
$this->backend = Backend::createBackend($this->_getParam('backend'));
|
||||||
|
$this->view->url = Url::fromRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function handleFormatRequest($query)
|
protected function handleFormatRequest($query)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user