src/AppBundle/Controller/ProjectController.php
/**
     * Finds and displays a project entity.
     *
     * @Route("/{id}", name="project_show")
     * @Method("GET")
     */
Finds and displays a project entity.
Finds and displays a project entity .
public function showAction(Project $project)
    {
        $deleteForm = $this->createDeleteForm($project);
        return $this->render(':project:show.html.twig', array(
            'project' => $project,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Project $ project ) { $ deleteForm = $ this -> createDeleteForm ( $ project ) ; return $ this -> render ( ':project:show.html.twig' , array ( 'project' => $ project , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a project entity.
Finds and displays a project entity .