Skip to content

Commit

Permalink
IBX-1830: Added a new route to determine edit mode (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdebinski authored Mar 9, 2022
1 parent 53d9684 commit 8008a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Form/Type/FieldType/DateFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
class DateFieldType extends AbstractType
{
private const EDIT_VIEWS = ['ez_content_draft_edit', 'ezplatform.content.translate'];
private const EDIT_VIEWS = ['ez_content_draft_edit', 'ezplatform.content.translate', 'ibexa.content.translate_with_location'];

/** @var \Symfony\Component\HttpFoundation\RequestStack */
private $requestStack;
Expand Down

0 comments on commit 8008a86

Please sign in to comment.