Use new Frontend extender (#5)

* Update bootstrap.php

* Update bootstrap.php
This commit is contained in:
Wiwat Srisattha 2018-07-27 16:38:42 +07:00 committed by Franz Liedke
parent 522bae8f30
commit 7672d610c3

View File

@ -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);