mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 17:12:13 +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),
|
|
];
|