Navigation Menu

Skip to content

Commit

Permalink
Fixed a typo on the bundle name structure of the path. Made the path …
Browse files Browse the repository at this point in the history
…relative on a recommendation by Stof.
  • Loading branch information
Jarvis Stubblefield authored and weaverryan committed Nov 1, 2011
1 parent f2b3140 commit 0456fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/templating.rst
Expand Up @@ -861,7 +861,7 @@ location. (target is by default "web")

.. code-block:: html+jinja

<link href="{{ asset('/bundles/AcmeDemoBundle/css/contact.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/acmedemo/css/contact.css') }}" type="text/css" rel="stylesheet" />

The end result is a page that includes both the ``main.css`` and ``contact.css``
stylesheets.
Expand Down

0 comments on commit 0456fa9

Please sign in to comment.