Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 5657 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5657 Rev 5663
Línea 160... Línea 160...
160
        } else {
160
        } else {
161
            return new JsonModel([
161
            return new JsonModel([
162
                'success' => false,
162
                'success' => false,
163
                'data' => 'ERROR_METHOD_NOT_ALLOWED'
163
                'data' => 'ERROR_METHOD_NOT_ALLOWED'
164
            ]);
164
            ]);
165
            ;
165
            
166
        }
166
        }
167
    }
167
    }
Línea 168... Línea 168...
168
 
168
 
169
    public function addAction() {
169
    public function addAction() {
Línea 189... Línea 189...
189
                    'content' => $surveyForm->content ? json_decode($surveyForm->content) : [],
189
                    'content' => $surveyForm->content ? json_decode($surveyForm->content) : [],
190
                    'description' => $surveyForm->description,
190
                    'description' => $surveyForm->description,
191
                    'text' => $surveyForm->text,
191
                    'text' => $surveyForm->text,
192
                ],
192
                ],
193
            ];
193
            ];
-
 
194
            return new JsonModel([
-
 
195
                'success' => true,
-
 
196
                'data' => $data,
194
 
197
            ]);
Línea 195... Línea 198...
195
          
198
          
Línea 196... Línea 199...
196
 
199