-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextend.php
More file actions
28 lines (23 loc) · 758 Bytes
/
Copy pathextend.php
File metadata and controls
28 lines (23 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
* This file is part of marchccc/flarum-ext-mentions-group-users.
*
* Copyright (c) 2023 Marchccc.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Marchccc\Mention;
use Flarum\Extend;
use Marchccc\Mention\Api\Controller\GroupUsersController;
return [
(new Extend\Frontend('forum'))
->js(__DIR__ . '/js/dist/forum.js')
->css(__DIR__ . '/less/forum.less'),
(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('/group_users', '', GroupUsersController::class),
];