add DELETE /token/$username/$tokenKey API
[grauphel.git] / controller / guicontroller.php
index 3c9c6f1..6d59fd5 100644 (file)
@@ -15,6 +15,7 @@ namespace OCA\Grauphel\Controller;
 
 use \OCP\AppFramework\Controller;
 use \OCP\AppFramework\Http\TemplateResponse;
+use \OCA\Grauphel\Lib\Client;
 use \OCA\Grauphel\Lib\TokenStorage;
 
 /**
@@ -108,10 +109,11 @@ class GuiController extends Controller
             array(
                 'tokens' => $tokens->loadForUser(
                     $this->user->getUid(), 'access'
-                )
+                ),
+                'client' => new Client(),
             )
         );
-        $this->addNavigation($res, $rawtag);
+        $this->addNavigation($res, null);
 
         return $res;
     }