From 1a2f8c498761bf07bf8a3fcfa583e44f87f7c41e Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 14 Feb 2017 22:59:23 +0100 Subject: [PATCH] Use new core API for modifying WebAppView properties --- extensions/embed/src/EmbedWebApp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/embed/src/EmbedWebApp.php b/extensions/embed/src/EmbedWebApp.php index 5d81ad958..348a5a45b 100644 --- a/extensions/embed/src/EmbedWebApp.php +++ b/extensions/embed/src/EmbedWebApp.php @@ -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; }