From 999ef82d55b5cf6559547684cf3459a1f0bd7be0 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 3 Jun 2016 11:02:05 +0930 Subject: [PATCH] Use new event name --- extensions/mentions/src/Listener/AddClientAssets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/mentions/src/Listener/AddClientAssets.php b/extensions/mentions/src/Listener/AddClientAssets.php index 3f1ca5094..a19f74641 100755 --- a/extensions/mentions/src/Listener/AddClientAssets.php +++ b/extensions/mentions/src/Listener/AddClientAssets.php @@ -11,7 +11,7 @@ namespace Flarum\Mentions\Listener; -use Flarum\Event\ConfigureClientView; +use Flarum\Event\ConfigureWebApp; use Illuminate\Contracts\Events\Dispatcher; class AddClientAssets @@ -21,13 +21,13 @@ class AddClientAssets */ public function subscribe(Dispatcher $events) { - $events->listen(ConfigureClientView::class, [$this, 'addAssets']); + $events->listen(ConfigureWebApp::class, [$this, 'addAssets']); } /** * @param ConfigureClientView $event */ - public function addAssets(ConfigureClientView $event) + public function addAssets(ConfigureWebApp $event) { if ($event->isForum()) { $event->addAssets([