mirror of
https://github.com/flarum/core.git
synced 2025-10-11 15:04:25 +02:00
Finish admin permissions page and clean up everything
This commit is contained in:
@@ -50,6 +50,18 @@ class AdminServiceProvider extends ServiceProvider
|
||||
'flarum.admin.index',
|
||||
$this->action('Flarum\Admin\Actions\ClientAction')
|
||||
);
|
||||
|
||||
$routes->post(
|
||||
'/config',
|
||||
'flarum.admin.updateConfig',
|
||||
$this->action('Flarum\Admin\Actions\UpdateConfigAction')
|
||||
);
|
||||
|
||||
$routes->post(
|
||||
'/permission',
|
||||
'flarum.admin.updatePermission',
|
||||
$this->action('Flarum\Admin\Actions\UpdatePermissionAction')
|
||||
);
|
||||
}
|
||||
|
||||
protected function action($class)
|
||||
|
Reference in New Issue
Block a user