/** * List of permissions ordered by the date of creation. * * @return \Illuminate\View\View */ public function index() { $permissions = Permission::latest('created_at')->paginate(10); return view('rbac-gui.permissions.index', compact('permissions')); }