Skip to content

Commit ba3e099

Browse files
committed
Merge pull request #1525 from ousmaneNdiaye/FixErrorDoc
Fixed error : AcmeUserBundle should be compatible with FOS\UserBundle...
2 parents 71ed250 + 49648fa commit ba3e099

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/doc/overriding_controllers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ namespace Acme\UserBundle\Controller;
5757

5858
use Symfony\Component\HttpFoundation\RedirectResponse;
5959
use FOS\UserBundle\Controller\RegistrationController as BaseController;
60+
use Symfony\Component\HttpFoundation\Request;
6061

6162
class RegistrationController extends BaseController
6263
{
63-
public function registerAction()
64+
public function registerAction(Request $request)
6465
{
6566
$form = $this->container->get('fos_user.registration.form');
6667
$formHandler = $this->container->get('fos_user.registration.form.handler');

0 commit comments

Comments
 (0)