Skip to content

Commit

Permalink
Fixed obsolete ibexa_content Controller references
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Feb 7, 2025
1 parent d3cab7b commit ea22216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bundle/Resources/views/fields/content_fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% if parameters.available[contentId] %}
{{ ibexa_http_cache_tag_relation_ids(contentId) }}
<li>
{{ render( controller( "ibexa_content:viewAction", {'contentId': contentId, 'viewType': 'embed', 'layout': false} ) ) }}
{{ render( controller( "ibexa_content::viewAction", {'contentId': contentId, 'viewType': 'embed', 'layout': false} ) ) }}
</li>
{% endif %}
{% endfor %}
Expand All @@ -24,7 +24,7 @@
{% if not ibexa_field_is_empty(content, field) and parameters.available %}
{{ ibexa_http_cache_tag_relation_ids(field.value.destinationContentId) }}
<div {{ block('field_attributes') }}>
{{ render(controller('ibexa_content:embedAction', {
{{ render(controller('ibexa_content::embedAction', {
contentId: field.value.destinationContentId,
viewType: 'asset_image',
no_layout: true,
Expand All @@ -42,7 +42,7 @@
{% if not ibexa_field_is_empty( content, field ) and parameters.available %}
{{ ibexa_http_cache_tag_relation_ids(field.value.destinationContentId) }}
<div {{ block( 'field_attributes' ) }}>
{{ render( controller( "ibexa_content:viewAction", {'contentId': field.value.destinationContentId, 'viewType': 'text_linked', 'layout': false} ) ) }}
{{ render( controller( "ibexa_content::viewAction", {'contentId': field.value.destinationContentId, 'viewType': 'text_linked', 'layout': false} ) ) }}
</div>
{% endif %}
{% endapply %}
Expand Down

0 comments on commit ea22216

Please sign in to comment.