diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-04-11 09:22:46 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-04-11 09:22:46 +0200 |
commit | a309d7c2802f654c5c13b76672620f438cffb9be (patch) | |
tree | 3dcd093fecbfa5a388ef6c4147688c69362c2117 /lib | |
parent | 07f1bb1013f1427d14d4b4c3b93a7e4fce4a261f (diff) |
Use absolute path for icon url
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ContactsMenu/Providers/DetailsProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ContactsMenu/Providers/DetailsProvider.php b/lib/ContactsMenu/Providers/DetailsProvider.php index 03231720..a2223555 100644 --- a/lib/ContactsMenu/Providers/DetailsProvider.php +++ b/lib/ContactsMenu/Providers/DetailsProvider.php @@ -64,8 +64,9 @@ class DetailsProvider implements IProvider { // 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'); - $action = $this->actionFactory->newLinkAction('icon-info', 'Details', $contactsUrl); + $action = $this->actionFactory->newLinkAction($iconUrl, 'Details', $contactsUrl); $action->setPriority(0); $entry->addAction($action); } |