app/maguttiCms/Api/V1/Controllers/AdminFileMangerController.php
/**
     * This method is used to fetch edit view
     */
This method is used to fetch edit view
This method is used to fetch edit view
public function edit($id)
    {
        $media = Media::find($id);
        if ($media) {
            return view('admin.helper.filemanager-edit', ['media' => $media]);
        }
        return $this->responseNotFound(__('api.errors.item_not_found'), ErrorCodes::MediaNotFound)->apiResponse();
    }
public function edit ( $ id ) { $ media = Media :: find ( $ id ) ; if ( $ media ) { return view ( 'admin.helper.filemanager-edit' , [ 'media' => $ media ] ) ; } return $ this -> responseNotFound ( __ ( 'api.errors.item_not_found' ) , ErrorCodes :: MediaNotFound ) -> apiResponse ( ) ; }
This method is used to fetch edit view
This method is used to fetch edit view