src/Flowcode/ShopBundle/Controller/ShopSettingController.php
public function showAction(ShopSetting $shopSetting)
    {
        $editForm = $this->createForm(new ShopSettingType(), $shopSetting, array(
            'action' => $this->generateUrl('admin_amulen_shop_setting_update', array('id' => $shopSetting->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($shopSetting->getId(), 'admin_amulen_shop_setting_delete');

        return array(
            'shop_setting' => $shopSetting,
            'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),

        );
    }
public function showAction(ShopSetting $shopSetting)
    {
        $editForm = $this->createForm(new ShopSettingType(), $shopSetting, array(
            'action' => $this->generateUrl('admin_amulen_shop_setting_update', array('id' => $shopSetting->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($shopSetting->getId(), 'admin_amulen_shop_setting_delete');

        return array(
            'shop_setting' => $shopSetting,
            'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),

        );
    }
public function showAction ( ShopSetting $ shopSetting ) { $ editForm = $ this -> createForm ( new ShopSettingType ( ) , $ shopSetting , array ( 'action' => $ this -> generateUrl ( 'admin_amulen_shop_setting_update' , array ( 'id' => $ shopSetting -> getid ( ) ) ) , 'method' => 'PUT' , ) ) ; $ deleteForm = $ this -> createDeleteForm ( $ shopSetting -> getId ( ) , 'admin_amulen_shop_setting_delete' ) ; return array ( 'shop_setting' => $ shopSetting , 'edit_form' => $ editForm -> createView ( ) , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
Finds and displays a ShopSetting entity.

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