From 7526b70cf54f8a95445dceb2db920bee4cf41472 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 23 Jul 2018 16:28:46 +0200 Subject: [PATCH] Use new Frontend extender See flarum/core#851. --- extensions/likes/bootstrap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/likes/bootstrap.php b/extensions/likes/bootstrap.php index 20f4fd924..df97e22dd 100644 --- a/extensions/likes/bootstrap.php +++ b/extensions/likes/bootstrap.php @@ -14,11 +14,11 @@ use Flarum\Likes\Listener; use Illuminate\Contracts\Events\Dispatcher; 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'), - (new Extend\Assets('admin')) + (new Extend\Frontend('admin')) ->js(__DIR__.'/js/dist/admin.js'), function (Dispatcher $events) {