mirror of
https://github.com/flarum/core.git
synced 2025-08-06 00:17:31 +02:00
Merge pull request #3 from flarum/analysis-zGDx6r
Applied fixes from StyleCI
This commit is contained in:
@@ -15,4 +15,4 @@ use Illuminate\Contracts\Events\Dispatcher;
|
|||||||
return function (Dispatcher $events) {
|
return function (Dispatcher $events) {
|
||||||
$events->subscribe(Listener\AddClientAssets::class);
|
$events->subscribe(Listener\AddClientAssets::class);
|
||||||
$events->subscribe(Listener\FilterNewPosts::class);
|
$events->subscribe(Listener\FilterNewPosts::class);
|
||||||
};
|
};
|
||||||
|
@@ -37,7 +37,7 @@ class AddClientAssets
|
|||||||
|
|
||||||
if ($event->isAdmin()) {
|
if ($event->isAdmin()) {
|
||||||
$event->addAssets([
|
$event->addAssets([
|
||||||
__DIR__ . '/../../js/admin/dist/extension.js'
|
__DIR__.'/../../js/admin/dist/extension.js'
|
||||||
]);
|
]);
|
||||||
$event->addBootstrapper('flarum/akismet/main');
|
$event->addBootstrapper('flarum/akismet/main');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user