wiki#preview showed layout

This commit is contained in:
Parziphal 2013-11-03 11:20:37 -05:00
parent 2183fa9186
commit d04b0ad012

View File

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