wiki#preview showed layout
This commit is contained in:
parent
2183fa9186
commit
d04b0ad012
@ -69,6 +69,7 @@ class WikiController extends ApplicationController
|
|||||||
|
|
||||||
public function preview()
|
public function preview()
|
||||||
{
|
{
|
||||||
|
$this->setLayout(false);
|
||||||
$this->render(['inline' => '<?= $this->format_text($this->params()->body) ?>']);
|
$this->render(['inline' => '<?= $this->format_text($this->params()->body) ?>']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user