X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/ace226e665fa77d04a61dfd61818f6cce5df6861..9501f181f621e9023a9cb27cbbc85afb2743eeca:/appinfo/routes.php diff --git a/appinfo/routes.php b/appinfo/routes.php index 28ba16d..29ce8ad 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -68,11 +68,41 @@ $application->registerRoutes( 'name' => 'gui#tag', 'verb' => 'GET', ), + array( + 'url' => '/note/{guid}.html', + 'name' => 'notes#html', + 'verb' => 'GET', + ), + array( + 'url' => '/note/{guid}.txt', + 'name' => 'notes#text', + '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}',