1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +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; use Illuminate\Contracts\View\Factory;
return [ return [
(new Extend\Assets('forum')) (new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js') ->js(__DIR__.'/js/dist/forum.js')
->asset(__DIR__.'/less/forum.less'), ->css(__DIR__.'/less/forum.less'),
function (Dispatcher $events, Factory $views) { function (Dispatcher $events, Factory $views) {
$events->subscribe(Listener\AddPostMentionedByRelationship::class); $events->subscribe(Listener\AddPostMentionedByRelationship::class);