@@ -20,7 +20,7 @@ bundle is only registered in the development environment::
20
20
public function registerBundles()
21
21
{
22
22
$bundles = array(
23
- new Acme\DemoBundle\AcmeDemoBundle(),
23
+ new Acme\DemoBundle\AcmeDemoBundle(),
24
24
);
25
25
26
26
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
@@ -41,8 +41,9 @@ that refers to the bundle.
41
41
2.1 Remove Bundle Routing
42
42
~~~~~~~~~~~~~~~~~~~~~~~~~
43
43
44
- Remove routing references for the bundle, these can likely be found in either
45
- ``app/config/routing.yml `` or ``app/config/routing_dev.yml ``.
44
+ *Some * bundles require you to import routing configuration. Check for references
45
+ to the bundle in ``app/config/routing.yml `` and ``app/config/routing_dev.yml ``.
46
+ If you find any references, remove them completely.
46
47
47
48
2.2 Remove Bundle Configuration
48
49
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -57,8 +58,8 @@ the configuration files.
57
58
----------------------------------------
58
59
59
60
Now you have removed every reference to the bundle in your application, you
60
- should remove the bundle from the filesystem. The bundle will be located in within
61
- src/ for example the ``src/Acme/DemoBundle `` directory. You should remove this
61
+ should remove the bundle from the filesystem. The bundle will be located in
62
+ ` src/ ` for example the ``src/Acme/DemoBundle `` directory. You should remove this
62
63
directory, and any parent directories that are now empty (e.g. ``src/Acme/ ``).
63
64
64
65
.. tip ::
0 commit comments