git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use greyscale tomboy icon
[grauphel.git]
/
appinfo
/
routes.php
diff --git
a/appinfo/routes.php
b/appinfo/routes.php
index 28ba16d185e4426f472d36f50dab04c8480491bd..1c7e50bf1821d07015f8519f340e111bba5a7463 100644
(file)
--- a/
appinfo/routes.php
+++ b/
appinfo/routes.php
@@
-68,11
+68,31
@@
$application->registerRoutes(
'name' => 'gui#tag',
'verb' => 'GET',
),
'name' => 'gui#tag',
'verb' => 'GET',
),
+ array(
+ 'url' => '/note/{guid}.xml',
+ 'name' => 'notes#xml',
+ 'verb' => 'GET',
+ ),
+ array(
+ 'url' => '/note/{guid}',
+ 'name' => 'gui#note',
+ 'verb' => 'GET',
+ ),
array(
'url' => '/tokens',
'name' => 'gui#tokens',
'verb' => 'GET',
),
array(
'url' => '/tokens',
'name' => 'gui#tokens',
'verb' => 'GET',
),
+ array(
+ 'url' => '/database',
+ 'name' => 'gui#database',
+ 'verb' => 'GET',
+ ),
+ array(
+ 'url' => '/database',
+ 'name' => 'gui#databaseReset',
+ 'verb' => 'POST',
+ ),
array(
'url' => '/tokens/{username}/{tokenKey}',
array(
'url' => '/tokens/{username}/{tokenKey}',