1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 14:51:19 +02:00

Make sure deprecated ConfigureClientView event still works

This commit is contained in:
Toby Zerner
2016-05-27 14:57:27 +09:30
parent 15adfc528f
commit 7c0a72047a

View File

@@ -10,6 +10,7 @@
namespace Flarum\Http\Controller;
use Flarum\Event\ConfigureClientView;
use Flarum\Event\ConfigureWebApp;
use Flarum\Http\WebApp\AbstractWebApp;
use Illuminate\Contracts\Events\Dispatcher;
@@ -34,6 +35,9 @@ abstract class AbstractWebAppController extends AbstractHtmlController
{
$view = $this->getView($request);
$this->events->fire(
new ConfigureClientView($this, $view, $request)
);
$this->events->fire(
new ConfigureWebApp($this, $view, $request)
);