From f8ad54cb1f081cb4631663e2ffddad70d19a1d36 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 23 Jul 2018 16:29:38 +0200 Subject: [PATCH] Use new Frontend extender See flarum/core#851. --- extensions/mentions/bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/mentions/bootstrap.php b/extensions/mentions/bootstrap.php index b20093c4e..2fa11a6a9 100644 --- a/extensions/mentions/bootstrap.php +++ b/extensions/mentions/bootstrap.php @@ -15,9 +15,9 @@ use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\View\Factory; return [ - (new Extend\Assets('forum')) + (new Extend\Frontend('forum')) ->js(__DIR__.'/js/dist/forum.js') - ->asset(__DIR__.'/less/forum.less'), + ->css(__DIR__.'/less/forum.less'), function (Dispatcher $events, Factory $views) { $events->subscribe(Listener\AddPostMentionedByRelationship::class);