Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7352 Rev 7353
Línea 569... Línea 569...
569
        $currentUserPlugin = $this->plugin('currentUserPlugin');
569
        $currentUserPlugin = $this->plugin('currentUserPlugin');
570
        $currentUser = $currentUserPlugin->getUser();
570
        $currentUser = $currentUserPlugin->getUser();
571
        $currentCompany = $currentUserPlugin->getCompany();
571
        $currentCompany = $currentUserPlugin->getCompany();
Línea 572... Línea 572...
572
        
572
        
-
 
573
        $type   = $this->params()->fromRoute('type');
-
 
574
        $response = [
-
 
575
            'success' => false,
573
        $type   = $this->params()->fromRoute('type');
576
            'data' => $type 
-
 
577
        ];
574
        
578
        return new JsonModel($response);
575
        $request = $this->getRequest();
579
        $request = $this->getRequest();
Línea 576... Línea 580...
576
        if($request->isGet()) {
580
        if($request->isGet()) {