]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/GeomController.php
redirection after path creation is decided by server (php), not guessed by client...
[syj.git] / application / controllers / GeomController.php
index 70acf763e073aa8984d42561c83f0093175eb061..5e0a0340ea887ef1ba6af94b22816446d44aa7ca 100644 (file)
@@ -30,6 +30,6 @@ class GeomController extends Zend_Controller_Action
             $data['creator'] = (string)$path->creator->pseudo;
         }
 
-        $api->setCheckIfNoneMatch(true)->setBody(json_encode($data));
+        $api->setCheckIfNoneMatch(true)->setBodyJson($data);
     }
 }