Changeset View
Changeset View
Standalone View
Standalone View
src/app/Http/Controllers/API/V4/Admin/SharedFoldersController.php
Show All 33 Lines | public function index() | ||||
function ($folder) { | function ($folder) { | ||||
return $this->objectToClient($folder); | return $this->objectToClient($folder); | ||||
} | } | ||||
); | ); | ||||
$result = [ | $result = [ | ||||
'list' => $result, | 'list' => $result, | ||||
'count' => count($result), | 'count' => count($result), | ||||
'message' => \trans('app.search-foundxsharedfolders', ['x' => count($result)]), | 'message' => \trans('app.search-foundxshared-folders', ['x' => count($result)]), | ||||
]; | ]; | ||||
return response()->json($result); | return response()->json($result); | ||||
} | } | ||||
/** | /** | ||||
* Create a new shared folder. | * Create a new shared folder. | ||||
* | * | ||||
Show All 9 Lines |