X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/ace226e665fa77d04a61dfd61818f6cce5df6861..adec466cf2ac13926a6ba536c18171370eb0c1e4:/appinfo/routes.php?ds=sidebyside diff --git a/appinfo/routes.php b/appinfo/routes.php index 28ba16d..1c7e50b 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -68,11 +68,31 @@ $application->registerRoutes( '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' => '/database', + 'name' => 'gui#database', + 'verb' => 'GET', + ), + array( + 'url' => '/database', + 'name' => 'gui#databaseReset', + 'verb' => 'POST', + ), array( 'url' => '/tokens/{username}/{tokenKey}',