mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
af3116bce9
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
21 lines
530 B
PHP
21 lines
530 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
use Flarum\Extend;
|
|
|
|
return [
|
|
(new Extend\Frontend('admin'))
|
|
->js(__DIR__.'/js/dist/admin.js')
|
|
->css(__DIR__.'/less/admin.less'),
|
|
|
|
new Extend\Locales(__DIR__.'/locale'),
|
|
(new Extend\Routes('api'))
|
|
->get('/statistics', 'flarum-statistics.get-statistics', Flarum\Statistics\Api\Controller\ShowStatisticsData::class),
|
|
];
|