src/GPublicationBundle/Controller/ReactionController.php
/**
     * Finds and displays a reaction entity.
     *
     * @Route("/{id}", name="reaction_show")
     * @Method("GET")
     */
Finds and displays a reaction entity.
Finds and displays a reaction entity .
public function showAction(Reaction $reaction)
    {
        $deleteForm = $this->createDeleteForm($reaction);
        return $this->render('reaction/show.html.twig', array(
            'reaction' => $reaction,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Reaction $ reaction ) { $ deleteForm = $ this -> createDeleteForm ( $ reaction ) ; return $ this -> render ( 'reaction/show.html.twig' , array ( 'reaction' => $ reaction , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a reaction entity.
Finds and displays a reaction entity .