mirror of
https://github.com/flarum/framework.git
synced 2025-01-28 10:43:02 +08:00
Merge pull request #23 from flarum/cw/missing-route
Add missing route for the flags page
This commit is contained in:
commit
845c469d35
|
@ -14,6 +14,7 @@ use Flarum\Flags\Api\Controller\DeleteFlagsController;
|
|||
use Flarum\Flags\Api\Controller\ListFlagsController;
|
||||
use Flarum\Flags\Flag;
|
||||
use Flarum\Flags\Listener;
|
||||
use Flarum\Forum\Content\AssertRegistered;
|
||||
use Flarum\Post\Post;
|
||||
use Flarum\User\User;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
@ -21,7 +22,8 @@ use Illuminate\Contracts\Events\Dispatcher;
|
|||
return [
|
||||
(new Extend\Frontend('forum'))
|
||||
->js(__DIR__.'/js/dist/forum.js')
|
||||
->css(__DIR__.'/less/forum.less'),
|
||||
->css(__DIR__.'/less/forum.less')
|
||||
->route('/flags', 'flags', AssertRegistered::class),
|
||||
|
||||
(new Extend\Frontend('admin'))
|
||||
->js(__DIR__.'/js/dist/admin.js'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user