Skip to content

Commit 5230aa6

Browse files
committed
fix cms pages
1 parent 8e94d56 commit 5230aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cms.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"subtitle": "{{ page.getPodcastShow().getSubtitle() }}",
4646
"description": "{{ page.getPodcastShow().getDescription()|json_encode }}",
4747
{% if foo != '' %}
48-
"cover": "{{ app.request.getUriForPath(vich_uploader_asset(podcast, 'imageFile'))}}",
48+
"cover": "{{ app.request.getUriForPath(vich_uploader_asset(page.getPodcastShow(), 'imageFile'))}}",
4949
{% endif %}
5050
"feeds": [
5151
{

0 commit comments

Comments
 (0)