mirror of
https://github.com/flarum/core.git
synced 2025-07-29 20:50:28 +02:00
Extender: List all assets explicitly
This commit is contained in:
@@ -16,7 +16,8 @@ use Illuminate\Contracts\View\Factory;
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
(new Extend\Assets('forum'))
|
(new Extend\Assets('forum'))
|
||||||
->defaultAssets(__DIR__)
|
->asset(__DIR__.'/js/forum/dist/extension.js')
|
||||||
|
->asset(__DIR__.'/less/forum/extension.less')
|
||||||
->bootstrapper('flarum/mentions/main'),
|
->bootstrapper('flarum/mentions/main'),
|
||||||
function (Dispatcher $events, Factory $views) {
|
function (Dispatcher $events, Factory $views) {
|
||||||
$events->subscribe(Listener\AddPostMentionedByRelationship::class);
|
$events->subscribe(Listener\AddPostMentionedByRelationship::class);
|
||||||
|
Reference in New Issue
Block a user