Controller/Api/Resource/BaseResourceController.php
public function putAction(Request $request, $id)
    {
        $this->checkAccess('PUT', $id);
        $resource = $this->getResourceManager()->find($id);
        return $this->processPut($request, $resource);
    }
public function putAction(Request $request, $id)
    {
        $this->checkAccess('PUT', $id);
        $resource = $this->getResourceManager()->find($id);
        return $this->processPut($request, $resource);
    }
public function putAction ( Request $ request , $ id ) { $ this -> checkAccess ( 'PUT' , $ id ) ; $ resource = $ this -> getResourceManager ( ) -> find ( $ id ) ; return $ this -> processPut ( $ request , $ resource ) ; }
Update a Resource from the submitted data.

@param Request $request the request object
@param mixed $id the resource id

@return View
Update a Resource from the submitted data .