File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,6 @@ controller for displaying the registration form::
240
240
namespace Acme\AccountBundle\Controller;
241
241
242
242
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
243
- use Symfony\Component\HttpFoundation\Request;
244
243
245
244
use Acme\AccountBundle\Form\Type\RegistrationType;
246
245
use Acme\AccountBundle\Form\Model\Registration;
@@ -271,6 +270,9 @@ And its template:
271
270
Next, create the controller which handles the form submission. This performs
272
271
the validation and saves the data into the database::
273
272
273
+ use Symfony\Component\HttpFoundation\Request;
274
+ // ...
275
+
274
276
public function createAction(Request $request)
275
277
{
276
278
$em = $this->getDoctrine()->getManager();
You can’t perform that action at this time.
0 commit comments