Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update remove.rst #3924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update remove.rst
  • Loading branch information
Ha99y committed Jun 11, 2014
commit f1824fce84d4206d004aab80ce6da33faabf2b58
11 changes: 5 additions & 6 deletions 11 cookbook/bundles/remove.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ should remove the bundle from the filesystem. The bundle is located in the
``src/Acme/DemoBundle`` directory. You should remove this directory and you
can remove the ``Acme`` directory as well.

3.1 Remove bundle resources
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove the Acme resource directory from the applications web folder. It can be found in ``web/bundles/acmedemo``.


.. tip::

If you don't know the location of a bundle, you can use the
Expand All @@ -87,6 +81,11 @@ Remove the Acme resource directory from the applications web folder. It can be f

echo $this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath();

3.1 Remove bundle resources
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove the Acme resource directory from the application's web folder. It can be found in ``web/bundles/acmedemo``.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can be even more direct. What do you guys think about:

Remove the web/bundles/acmedemo directory. This contains the public assets (e.g CSS) for the bundle.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should also take care of the second goal of this article: talk about removing a bundle in general. So I would propose something along the lines of "Remove the assets of the bundle in the web/ directory (e.g. web/bundles/acmedemo)"

4. Remove integration in other bundles
--------------------------------------

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.