mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Add routes to server
This commit is contained in:
parent
59736524e0
commit
9c047485f0
@ -32,7 +32,9 @@ class TagsServiceProvider extends ServiceProvider
|
||||
->assets([
|
||||
__DIR__.'/../js/dist/extension.js',
|
||||
__DIR__.'/../less/extension.less'
|
||||
]),
|
||||
])
|
||||
->route('get', '/t/{slug}', 'flarum-tags.forum.tag')
|
||||
->route('get', '/tags', 'flarum-tags.forum.tags'),
|
||||
|
||||
(new Extend\Model('Flarum\Tags\Tag'))
|
||||
// Hide tags that the user doesn't have permission to see.
|
||||
|
Loading…
x
Reference in New Issue
Block a user