git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare release of 0.5.1
[grauphel.git]
/
controller
/
guicontroller.php
diff --git
a/controller/guicontroller.php
b/controller/guicontroller.php
index 8ebea8c58f5b8900e4dfeb7a14cc97ed1e079f13..29dd03f9d0c631b3396625e320bffa1eba9ff6fd 100644
(file)
--- a/
controller/guicontroller.php
+++ b/
controller/guicontroller.php
@@
-122,11
+122,17
@@
class GuiController extends Controller
'note' => $note,
'note-content' => $contentHtml,
'links' => array(
'note' => $note,
'note-content' => $contentHtml,
'links' => array(
+ 'html' => $this->urlGen->linkToRoute(
+ 'grauphel.notes.html', array('guid' => $guid)
+ ),
'json' => $this->urlGen->linkToRoute(
'grauphel.api.note', array(
'guid' => $guid, 'username' => $this->user->getUid()
)
),
'json' => $this->urlGen->linkToRoute(
'grauphel.api.note', array(
'guid' => $guid, 'username' => $this->user->getUid()
)
),
+ 'text' => $this->urlGen->linkToRoute(
+ 'grauphel.notes.text', array('guid' => $guid)
+ ),
'xml' => $this->urlGen->linkToRoute(
'grauphel.notes.xml', array('guid' => $guid)
),
'xml' => $this->urlGen->linkToRoute(
'grauphel.notes.xml', array('guid' => $guid)
),