Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-20 10:04:56 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 09:20:16 +0300
commit201bbb962c982ca9aa5d1aed52fef2c587055ea3 (patch)
tree609dbd3c6a2e4886c0669cbcd87fcb895fdda7c4 /apps/comments/appinfo
parent19b039e6e0d4f3955758e001d62c93aca90424d3 (diff)
Fix Comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/comments/appinfo')
-rw-r--r--apps/comments/appinfo/routes.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/comments/appinfo/routes.php b/apps/comments/appinfo/routes.php
index ab751ddb2a2..66b3abe61be 100644
--- a/apps/comments/appinfo/routes.php
+++ b/apps/comments/appinfo/routes.php
@@ -20,9 +20,8 @@
*
*/
-use \OCA\Comments\AppInfo\Application;
-
-$application = new Application();
-$application->registerRoutes($this, ['routes' => [
- ['name' => 'Notifications#view', 'url' => '/notifications/view/{id}', 'verb' => 'GET'],
-]]);
+return [
+ 'routes' => [
+ ['name' => 'Notifications#view', 'url' => '/notifications/view/{id}', 'verb' => 'GET'],
+ ]
+];