Skip to content

Commit

Permalink
[TASK] #23 - use new core api for backend modul link
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lorenz committed Aug 17, 2018
1 parent eb23ced commit 060c1cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 57 deletions.
56 changes: 0 additions & 56 deletions Classes/ViewHelpers/Backend/EditRecordViewHelper.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{namespace contacts=Extcode\Contacts\ViewHelpers}
{namespace be=TYPO3\CMS\Backend\ViewHelpers}

<f:layout name="Default"/>

Expand Down Expand Up @@ -53,7 +54,7 @@
href="{f:uri.action(action:'show', arguments:{contact: contact})}">
<core:icon identifier="actions-view" />
</a>
<a class="btn btn-default" href="{contacts:backend.editRecord(parameters: 'edit[tx_contacts_domain_model_contact][{contact.uid}]=edit&returnUrl={returnUrl}')}"><core:icon identifier="actions-open" /></a>
<a class="btn btn-default" href="{be:uri.editRecord(table: 'tx_contacts_domain_model_contact', uid: contact.uid, returnUrl: returnUrl)}"><core:icon identifier="actions-open" /></a>
</div>
</td>
</tr>
Expand Down

0 comments on commit 060c1cc

Please sign in to comment.