src/Flowcode/DashboardBundle/Controller/SettingController.php
public function newAction()
    {
        $setting = new Setting();
        $form = $this->createForm($this->get('amulen.dashboard.form.setting'), $setting);

        return array(
            'setting' => $setting,
            'form' => $form->createView(),
        );
    }
public function newAction()
    {
        $setting = new Setting();
        $form = $this->createForm($this->get('amulen.dashboard.form.setting'), $setting);

        return array(
            'setting' => $setting,
            'form' => $form->createView(),
        );
    }
Displays a form to create a new Setting entity.

@Route("/new", name="admin_amulen_setting_new")
@Method("GET")
@Template()