X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/62340c61f3ab49aa405c549b43e2cd910ab4d834..a921b71a121666b9973e1b2815f55dc416d96d28:/controller/apicontroller.php diff --git a/controller/apicontroller.php b/controller/apicontroller.php index 39de60d..90c036f 100644 --- a/controller/apicontroller.php +++ b/controller/apicontroller.php @@ -119,7 +119,7 @@ class ApiController extends Controller 'grauphel.api.user', array('username' => $username) ) ), - 'href' => null,//FIXME + 'href' => null, ); } @@ -167,7 +167,9 @@ class ApiController extends Controller 'grauphel.api.notes', array('username' => $username) ) ), - 'href' => null, + 'href' => $this->deps->urlGen->getAbsoluteURL( + $this->deps->urlGen->linkToRoute('grauphel.gui.index') + ), ), 'latest-sync-revision' => $syncdata->latestSyncRevision, 'current-sync-guid' => $syncdata->currentSyncGuid,