mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Use new Frontend extender (#5)
* Update bootstrap.php * Update bootstrap.php
This commit is contained in:
committed by
Franz Liedke
parent
522bae8f30
commit
7672d610c3
@@ -14,9 +14,9 @@ use Flarum\Statistics\Listener;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
return [
|
||||
(new Extend\Assets('admin'))
|
||||
(new Extend\Frontend('admin'))
|
||||
->js(__DIR__.'/js/dist/admin.js')
|
||||
->asset(__DIR__.'/less/admin.less'),
|
||||
->css(__DIR__.'/less/admin.less'),
|
||||
|
||||
function (Dispatcher $events) {
|
||||
$events->subscribe(Listener\AddStatisticsData::class);
|
||||
|
Reference in New Issue
Block a user