git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update installation notes
[grauphel.git]
/
controller
/
apicontroller.php
diff --git
a/controller/apicontroller.php
b/controller/apicontroller.php
index 39de60d209de3080fa0d3341b601df29b8edfb07..90c036f39ae8c2a4091ecd0cc98dd4076f131575 100644
(file)
--- a/
controller/apicontroller.php
+++ b/
controller/apicontroller.php
@@
-119,7
+119,7
@@
class ApiController extends Controller
'grauphel.api.user', array('username' => $username)
)
),
'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)
)
),
'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,
),
'latest-sync-revision' => $syncdata->latestSyncRevision,
'current-sync-guid' => $syncdata->currentSyncGuid,