From c25b8e1510577d84adf71d8f7d43f95e24d4fedc Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sun, 21 Jan 2018 21:09:52 +0100 Subject: [PATCH] Extender: List all assets explicitly --- extensions/mentions/bootstrap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/mentions/bootstrap.php b/extensions/mentions/bootstrap.php index 0211447bf..67b38fc97 100644 --- a/extensions/mentions/bootstrap.php +++ b/extensions/mentions/bootstrap.php @@ -16,7 +16,8 @@ use Illuminate\Contracts\View\Factory; return [ (new Extend\Assets('forum')) - ->defaultAssets(__DIR__) + ->asset(__DIR__.'/js/forum/dist/extension.js') + ->asset(__DIR__.'/less/forum/extension.less') ->bootstrapper('flarum/mentions/main'), function (Dispatcher $events, Factory $views) { $events->subscribe(Listener\AddPostMentionedByRelationship::class);