Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit fefebc6

Browse files
committed
Enhancement: ACL
Improve user experience on slow loading on display ACL by using API
1 parent b6cb392 commit fefebc6

File tree

18 files changed

+68
-129437
lines changed

18 files changed

+68
-129437
lines changed

app/Http/Controllers/Api/Manage/AclController.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77

88
class AclController extends Controller
99
{
10-
public function __invoke(Request $request)
10+
public function index()
11+
{
12+
return response()->api(roles());
13+
}
14+
15+
public function update(Request $request)
1116
{
1217
switch ($request->type) {
1318
case 'create':

0 commit comments

Comments
 (0)