public function showAction(Setting $setting)
    {
        $editForm = $this->createForm($this->get('amulen.dashboard.form.setting'), $setting, array(
            'action' => $this->generateUrl('admin_amulen_setting_update', array('id' => $setting->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($setting->getId(), 'admin_amulen_setting_delete');

        return array(

            'setting' => $setting, 'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),

        );
    }
public function showAction(Setting $setting)
    {
        $editForm = $this->createForm($this->get('amulen.dashboard.form.setting'), $setting, array(
            'action' => $this->generateUrl('admin_amulen_setting_update', array('id' => $setting->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($setting->getId(), 'admin_amulen_setting_delete');

        return array(

            'setting' => $setting, 'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),

        );
    }
public function showAction ( Setting $ setting ) { $ editForm = $ this -> createForm ( $ this -> get ( 'amulen.dashboard.form.setting' ) , $ setting , array ( 'action' => $ this -> generateUrl ( 'admin_amulen_setting_update' , array ( 'id' => $ setting -> getid ( ) ) ) , 'method' => 'PUT' , ) ) ; $ deleteForm = $ this -> createDeleteForm ( $ setting -> getId ( ) , 'admin_amulen_setting_delete' ) ; return array ( 'setting' => $ setting , 'edit_form' => $ editForm -> createView ( ) , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
Finds and displays a Setting entity.

@Route("/{id}/show", name="admin_amulen_setting_show", requirements={"id"="\d+"})
@Method("GET")
@Template()
Finds and displays a Setting entity .