1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 18:51:40 +02:00

Use new Frontend extender

See flarum/core#851.
This commit is contained in:
Franz Liedke
2018-07-23 16:29:38 +02:00
parent 800e68bf4c
commit f8ad54cb1f

View File

@@ -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);