Skip to content

Commit 4f7ef38

Browse files
committed
minor #2035 Fixed comments and namespaces (yceruto)
This PR was submitted for the master branch but it was merged into the 1.3.x branch instead (closes #2035). Discussion ---------- Fixed comments and namespaces Fixed #2034 Commits ------- 3f9e90c Fixed #2034
2 parents 19df495 + 3f9e90c commit 4f7ef38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Resources/doc/overriding_controllers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ bundle named ``AcmeUserBundle`` that declares itself a child of FOSUserBundle.
1212

1313
.. code-block:: php
1414
15-
// src/AppBundle/AcmeUserBundle.php
15+
// src/Acme/UserBundle/AcmeUserBundle.php
1616
17-
namespace AppBundle;
17+
namespace Acme\UserBundle;
1818
1919
use Symfony\Component\HttpKernel\Bundle\Bundle;
2020
@@ -42,9 +42,9 @@ the base controller and adds logging a new user registration to it.
4242

4343
.. code-block:: php
4444
45-
// src/AppBundle/Controller/RegistrationController.php
45+
// src/Acme/UserBundle/Controller/RegistrationController.php
4646
47-
namespace AppBundle\Controller;
47+
namespace Acme\UserBundle\Controller;
4848
4949
use Symfony\Component\HttpFoundation\RedirectResponse;
5050
use FOS\UserBundle\Controller\RegistrationController as BaseController;

0 commit comments

Comments
 (0)