Use new core API for modifying WebAppView properties

This commit is contained in:
Franz Liedke 2017-02-14 22:59:23 +01:00
parent bafa62fcb0
commit 1a2f8c4987

View File

@ -25,7 +25,7 @@ class EmbedWebApp extends WebApp
$view->getCss()->addFile(__DIR__.'/../less/forum/extension.less');
$view->loadModule('flarum/embed/main');
$view->setLayout(__DIR__.'/../views/embed.blade.php');
$view->layout = __DIR__.'/../views/embed.blade.php';
return $view;
}