Skip to content

Commit bfb864a

Browse files
committed
Tweaks thanks to close review from Javier and @snoek09!
1 parent f1aa5a1 commit bfb864a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bundles/remove.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bundle is only registered in the development environment::
2020
public function registerBundles()
2121
{
2222
$bundles = array(
23-
new Acme\DemoBundle\AcmeDemoBundle(),
23+
new Acme\DemoBundle\AcmeDemoBundle(),
2424
);
2525

2626
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
@@ -41,8 +41,9 @@ that refers to the bundle.
4141
2.1 Remove Bundle Routing
4242
~~~~~~~~~~~~~~~~~~~~~~~~~
4343

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.
4647

4748
2.2 Remove Bundle Configuration
4849
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -57,8 +58,8 @@ the configuration files.
5758
----------------------------------------
5859

5960
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
6263
directory, and any parent directories that are now empty (e.g. ``src/Acme/``).
6364

6465
.. tip::

0 commit comments

Comments
 (0)