public function display($template = null)
{
// parse header
$this->header->parse();
/*
* If no template is specified, we have to build the path ourself. The default template is
* based on the name of the current action
*/
if ($template === null) {
$template = '/' . $this->getModule() . '/Layout/Templates/' . $this->URL->getAction() . '.html.twig';
}
$this->content = $this->tpl->getContent($template);
}