mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-05-28 04:34:57 -04:00
ShowController: web does not depend on template
This commit is contained in:
parent
8622a26033
commit
d89e5ce6c6
1 changed files with 2 additions and 4 deletions
|
|
@ -35,10 +35,8 @@ class ShowController extends Controller
|
|||
$config = $this->Config();
|
||||
$this->templateStore = new TemplateStore();
|
||||
$this->baseUrl = $this->Config()->get('graphite', 'web_url');
|
||||
if ($this->template = $this->view->template = $this->loadTemplate()) {
|
||||
$graphite = $this->graphiteWeb = new GraphiteWeb($this->baseUrl);
|
||||
}
|
||||
|
||||
$graphite = $this->graphiteWeb = new GraphiteWeb($this->baseUrl);
|
||||
$this->template = $this->view->template = $this->loadTemplate();
|
||||
$this->params->shift('r');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue