mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Extender: List all assets explicitly
This commit is contained in:
parent
5cb1fc4627
commit
99c172b2b4
|
@ -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/subscriptions/main'),
|
->bootstrapper('flarum/subscriptions/main'),
|
||||||
function (Dispatcher $events, Factory $views) {
|
function (Dispatcher $events, Factory $views) {
|
||||||
$events->subscribe(Listener\AddDiscussionSubscriptionAttribute::class);
|
$events->subscribe(Listener\AddDiscussionSubscriptionAttribute::class);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user