diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-20 09:04:56 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:16 +0200 |
commit | 201bbb962c982ca9aa5d1aed52fef2c587055ea3 (patch) | |
tree | 609dbd3c6a2e4886c0669cbcd87fcb895fdda7c4 /apps/comments/appinfo | |
parent | 19b039e6e0d4f3955758e001d62c93aca90424d3 (diff) | |
download | nextcloud-server-201bbb962c982ca9aa5d1aed52fef2c587055ea3.tar.gz nextcloud-server-201bbb962c982ca9aa5d1aed52fef2c587055ea3.zip |
Fix Comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/comments/appinfo')
-rw-r--r-- | apps/comments/appinfo/routes.php | 11 |
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'], + ] +]; |