BlogBundle/Controller/CommentController.php
public function showAction(Comment $comment)
    {
        $deleteForm = $this->createDeleteForm($comment);

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

        return array(
            'entity' => $comment,
            'delete_form' => $deleteForm->createView(),
        );
    }
public function showAction ( Comment $ comment ) { $ deleteForm = $ this -> createDeleteForm ( $ comment ) ; return array ( 'entity' => $ comment , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
Finds and displays a Comment entity.

@Route("/{id}")
@Method("GET")
@Template()
Finds and displays a Comment entity .