mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
Implement basic settings page
This commit is contained in:
@@ -94,6 +94,13 @@ class ApiServiceProvider extends ServiceProvider
|
||||
$this->action('Flarum\Api\Actions\Forum\ShowAction')
|
||||
);
|
||||
|
||||
// Save forum information
|
||||
$routes->patch(
|
||||
'/forum',
|
||||
'flarum.api.forum.update',
|
||||
$this->action('Flarum\Api\Actions\Forum\UpdateAction')
|
||||
);
|
||||
|
||||
// Retrieve authentication token
|
||||
$routes->post(
|
||||
'/token',
|
||||
|
Reference in New Issue
Block a user