mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Au cas ou
This commit is contained in:
@@ -64,6 +64,13 @@ Route::middleware('auth:api')->group(function () {
|
||||
/** Job Route */
|
||||
Route::post('/config/job/delete','JobController@destroy')->middleware('perm:config_edit');
|
||||
|
||||
/** File Exlorer Route */
|
||||
Route::get('/drive/folders/{folder?}','GoogleDriveController@list');
|
||||
Route::get('/drive/path/{folder}','GoogleDriveController@getPath');
|
||||
Route::get('/drive/patharray','GoogleDriveController@getPathArray');
|
||||
Route::get('/drive/files/{dir}/{file}','GoogleDriveController@showMetadata');
|
||||
Route::get('/drive/checkfilestructure','GoogleDriveController@checkFileSystem');
|
||||
|
||||
Route::get('/user/perm/{id}', function($id) {
|
||||
$user = \App\User::find($id);
|
||||
return $user->getPerm("schedule_edit");
|
||||
|
||||
Reference in New Issue
Block a user