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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user