From 903fdd130880e3f2dc2eea18478cd4ae3488ee1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Fri, 18 Sep 2020 09:28:16 +0200 Subject: [PATCH] EZP-31906: changed edit route id --- .../views/themes/admin/ui/field_type/edit/ezdate.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/views/themes/admin/ui/field_type/edit/ezdate.html.twig b/src/bundle/Resources/views/themes/admin/ui/field_type/edit/ezdate.html.twig index 5649ad019b..db3bfe93a4 100644 --- a/src/bundle/Resources/views/themes/admin/ui/field_type/edit/ezdate.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/field_type/edit/ezdate.html.twig @@ -7,7 +7,7 @@ - {% set action_type = app.request.attributes.get('_route') is same as('ez_content_draft_edit') ? 'edit' : 'create' %} + {% set action_type = app.request.attributes.get('_route') is same as('ezplatform.content.draft.edit') ? 'edit' : 'create' %} {% set attr = attr|merge({'class': 'ez-data-source__input', 'hidden': 'hidden', 'data-action-type': action_type}) %} {{ block('form_widget') }} {% endblock %}