From 3129ee5b4b39e6625bfdfce86399f80ec71d9df9 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 23 Jul 2018 16:34:45 +0200 Subject: [PATCH] Use new Frontend extender See flarum/core#851. --- extensions/tags/bootstrap.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/tags/bootstrap.php b/extensions/tags/bootstrap.php index 559d8cdde..41a137bee 100644 --- a/extensions/tags/bootstrap.php +++ b/extensions/tags/bootstrap.php @@ -17,13 +17,13 @@ use Flarum\Tags\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') - ->asset(__DIR__.'/less/admin.less'), + ->css(__DIR__.'/less/admin.less'), (new Extend\Routes('forum')) ->get('/t/{slug}', 'tag', FrontendController::class)