Add travis-ci.org configuration
[grauphel.git] / appinfo / routes.php
index 28ba16d..29ce8ad 100644 (file)
@@ -69,10 +69,40 @@ $application->registerRoutes(
                 '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}',