Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 8403 | Rev 8405 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 8403 Rev 8404
Línea 254... Línea 254...
254
    }
254
    }
Línea 255... Línea 255...
255
 
255
 
256
    public function answerAction()
256
    public function answerAction()
Línea 257... Línea -...
257
    {
-
 
258
    
-
 
259
        $response = [
-
 
260
            'success' => false,
257
    {
261
            'data' => 'ERROR_POSTsadsa_NOT_FOUND'
-
 
262
        ];
258
    
263
        return new JsonModel($response);
259
       
264
        $currentUserPlugin = $this->plugin('currentUserPlugin');
260
        $currentUserPlugin = $this->plugin('currentUserPlugin');
Línea 265... Línea 261...
265
        $currentUser = $currentUserPlugin->getUser();
261
        $currentUser = $currentUserPlugin->getUser();
266
        $currentCompany = $currentUserPlugin->getCompany();
262
        $currentCompany = $currentUserPlugin->getCompany();
-
 
263
        
-
 
264
        
-
 
265
        $id = $this->params()->fromRoute('id');
267
        
266
        $comment_uuid = $this->params()->fromRoute('comment');
-
 
267
        $response = [
268
        
268
            'success' => false,
269
        $id = $this->params()->fromRoute('id');
269
            'data' => 'ERROR_POSTsadsa_NOT_FOUND'
270
        $comment_uuid = $this->params()->fromRoute('comment');
270
        ];
271
        
271
        return new JsonModel($response);
272
        $request = $this->getRequest();
272
        $request = $this->getRequest();