diff options
Diffstat (limited to 'apps/comments/lib/Controller/Notifications.php')
-rw-r--r-- | apps/comments/lib/Controller/Notifications.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/comments/lib/Controller/Notifications.php b/apps/comments/lib/Controller/Notifications.php index f76f1605345..c2a8175d17a 100644 --- a/apps/comments/lib/Controller/Notifications.php +++ b/apps/comments/lib/Controller/Notifications.php @@ -102,13 +102,9 @@ class Notifications extends Controller { return new NotFoundResponse(); } - $dir = $this->folder->getRelativePath($files[0]->getParent()->getPath()); $url = $this->urlGenerator->linkToRouteAbsolute( - 'files.view.index', - [ - 'dir' => $dir, - 'scrollto' => $files[0]->getName() - ] + 'files.viewcontroller.showFile', + [ 'fileid' => $comment->getObjectId() ] ); $this->markProcessed($comment); |