Skip to content

Twig: Missing Template #1000

Closed
Closed
@pierma67

Description

@pierma67

(sorry, I searched about this but I found similar issues but without solution)
This code in a Controller:
/**

  • @route("/edit/{id}", requirements={"id"="\d+"}, name="categoria_edit");
  • @template()
    */
    public function editAction($id, Request $request)
    {
    gives me the message "Missing Template" but edit.html.twig does exist and if I try to follow the proposed action it asks me to create a template named ed.html.twig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions