]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/helpers/SyjApi.php
search a place with nominatim
[syj.git] / application / controllers / helpers / SyjApi.php
index 37b010afcc95146b64f897fc53de3183a79136e4..21aa9dd9f9b3fe5e4c88a2eb37bdaa4d8240eb5d 100644 (file)
@@ -30,6 +30,7 @@ class Syj_Controller_Action_Helper_SyjApi extends Zend_Controller_Action_Helper_
     public function setBodyJson($data) {
         $this->setBody(json_encode($data))
              ->setContentType('application/json');
+        return $this;
     }
 
     public function setBody($body) {