ShowController: web does not depend on template

This commit is contained in:
Thomas Gelf 2016-02-16 15:51:52 +01:00
parent 8622a26033
commit d89e5ce6c6

View file

@ -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');
}