Deleting tokens works (without confirmation)
[grauphel.git] / appinfo / routes.php
index a730583..28ba16d 100644 (file)
@@ -79,6 +79,11 @@ $application->registerRoutes(
                 'name' => 'token#delete',
                 'verb' => 'DELETE',
             ),
                 'name' => 'token#delete',
                 'verb' => 'DELETE',
             ),
+            array(
+                'url'  => '/tokens/{username}/{tokenKey}',
+                'name' => 'token#deletePost',
+                'verb' => 'POST',
+            ),
         )
     )
 );
         )
     )
 );