summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-24 11:31:49 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-24 11:31:49 +0200
commit026d509336775b9d6bf4c1d10849f03a2e9e5692 (patch)
tree4ce36eaccb18281d52aa5e3f06bf08146161aa07 /lib
parenta309d7c2802f654c5c13b76672620f438cffb9be (diff)
Redirect from UID to GID+UID
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/ContactsMenu/Providers/DetailsProvider.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ContactsMenu/Providers/DetailsProvider.php b/lib/ContactsMenu/Providers/DetailsProvider.php
index a2223555..5bbcd087 100644
--- a/lib/ContactsMenu/Providers/DetailsProvider.php
+++ b/lib/ContactsMenu/Providers/DetailsProvider.php
@@ -62,10 +62,9 @@ class DetailsProvider implements IProvider {
return;
}
- // TODO: unique contact URL to the contacts app
// TODO: l10n
$iconUrl = $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/info.svg'));
- $contactsUrl = $this->urlGenerator->getAbsoluteURL('/index.php/apps/contacts');
+ $contactsUrl = $this->urlGenerator->getAbsoluteURL('/index.php/apps/contacts#/contact/' . $uid);
$action = $this->actionFactory->newLinkAction($iconUrl, 'Details', $contactsUrl);
$action->setPriority(0);
$entry->addAction($action);