1
0
mirror of https://github.com/flarum/core.git synced 2025-07-09 19:06:23 +02:00

Move config/permission actions to API; clean up cache flushing

This commit is contained in:
Toby Zerner
2015-08-04 10:40:04 +09:30
parent afe031f269
commit 2e4d38b3e7
10 changed files with 81 additions and 43 deletions

View File

@ -91,7 +91,7 @@ export default class PermissionDropdown extends Dropdown {
app.request({
method: 'POST',
url: app.forum.attribute('adminUrl') + '/permission',
url: app.forum.attribute('apiUrl') + '/permission',
data: {permission, groupIds}
});
}