mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 17:12:13 +08:00
Merge pull request #730 from Luceos/remove_path_forum
removed patch from api routes, fixes #725
This commit is contained in:
commit
ace4bcf7d8
|
@ -110,12 +110,6 @@ class ApiServiceProvider extends AbstractServiceProvider
|
|||
$toController('Flarum\Api\Controller\ShowForumController')
|
||||
);
|
||||
|
||||
// Save forum information
|
||||
$routes->patch(
|
||||
'/forum',
|
||||
'forum.update',
|
||||
$toController('Flarum\Api\Controller\UpdateForumController')
|
||||
);
|
||||
|
||||
// Retrieve authentication token
|
||||
$routes->post(
|
||||
|
|
Loading…
Reference in New Issue
Block a user