Skip to content

Commit

Permalink
Fix old route name
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien VERNER committed Feb 17, 2023
1 parent 5a0459c commit 5d6f800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/Entities/showEntity.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@
{% set value = sqli_admin_attribute( element, property_name ) %}
{# If column flagged as extra link then column's value will be used as ID ... #}
{% if property_infos.extra_link == "content" %}
<td><a href="{{ path( '_ez_content_view', { 'contentId': value } ) }}">{{ value }}</a></td>
<td><a href="{{ path( 'ibexa.content.view', { 'contentId': value } ) }}">{{ value }}</a></td>
{% elseif property_infos.extra_link == "location" %}
{% set location = fetch_location(value) %}
<td><a href="{{ path( '_ez_content_view',
<td><a href="{{ path( 'ibexa.content.view',
{ 'locationId': location.id, 'contentId': location.content.id } ) }}">{{ value }}</a></td>
{% elseif property_infos.extra_link == "tag" and bundle_exists( 'NetgenTagsBundle' ) %}
<td><a href="{{ path('netgen_tags_admin_tag_show', { 'tagId': value }) }}">{{ value }}</a></td>
Expand Down

0 comments on commit 5d6f800

Please sign in to comment.