1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Extender: List all assets explicitly

This commit is contained in:
Franz Liedke
2018-01-21 21:09:52 +01:00
parent 30e21bb37d
commit c25b8e1510

View File

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