catch rendering exceptions
[grauphel.git] / appinfo / app.php
index 3da4f00e5fd2ce8204dcaec2a34974e4cadee6f7..c80d95bf220e05523aebac5b4e098c1d7a633c98 100755 (executable)
@@ -5,9 +5,11 @@ OCP\App::addNavigationEntry(
     array( 
         'id' => 'grauphel',
         'order' => 2342,
     array( 
         'id' => 'grauphel',
         'order' => 2342,
-        'href' => OCP\Util::linkTo('grauphel', 'index.php'),
+        'href' => \OCP\Util::linkToRoute('grauphel.gui.index'),
         'icon' => OCP\Util::imagePath('grauphel', 'notes.png'),
         'name' => 'Tomboy notes'
     )
 );
         'icon' => OCP\Util::imagePath('grauphel', 'notes.png'),
         'name' => 'Tomboy notes'
     )
 );
+\OC_Search::registerProvider('OCA\Grauphel\Search\Provider');
+\OCP\Util::addscript('grauphel', 'loader');
 ?>
 ?>