mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Use new core API for modifying WebAppView properties
This commit is contained in:
parent
bafa62fcb0
commit
1a2f8c4987
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user