Skip to content

Form submit redirect results in "Content missing" #27

@chapterjason

Description

@chapterjason

As I tried to use this project, I came across the issue that if I submit the form and everything is alright, it returns like this:

return $this->redirectToRoute('project_show', ['id' => $project->getId()]);

Which ends up in:
image

(Content missing was the form before submit)

A bit of research I found something about missing frame in the Turbo Handbook

But not sure how to solve it properly, my current workaround is to add this and a block into the base template.

{% block meta %}
    <meta name="turbo-visit-control" content="reload">
{% endblock %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions