CoreExtraBundle/Controller/SliderController.php
public function showAction(Slider $slider)
    {
        $deleteForm = $this->createDeleteForm($slider);

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

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

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