BlogBundle/Controller/TagController.php
public function showAction(Tag $tag)
    {
        $deleteForm = $this->createDeleteForm($tag);

        return array(
            'entity' => $tag,
            'delete_form' => $deleteForm->createView(),
        );
    }
public function showAction(Tag $tag)
    {
        $deleteForm = $this->createDeleteForm($tag);

        return array(
            'entity' => $tag,
            'delete_form' => $deleteForm->createView(),
        );
    }
Finds and displays a Tag entity.

@Route("/{id}")
@Method("GET")
@Template()