Skip to content

Commit 2027928

Browse files
committed
[cache] Fixing bundle reference.
1 parent d95db52 commit 2027928

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/http_cache.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ the ``_internal`` route:
899899
900900
# app/config/routing.yml
901901
_internal:
902-
resource: FrameworkBundle/Resources/config/routing/internal.xml
902+
resource: @FrameworkBundle/Resources/config/routing/internal.xml
903903
prefix: /_internal
904904
905905
.. code-block:: xml
@@ -911,7 +911,7 @@ the ``_internal`` route:
911911
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
912912
xsi:schemaLocation="http://www.symfony-project.org/schema/routing http://www.symfony-project.org/schema/routing/routing-1.0.xsd">
913913
914-
<import resource="FrameworkBundle/Resources/config/routing/internal.xml" prefix="/_internal" />
914+
<import resource="@FrameworkBundle/Resources/config/routing/internal.xml" prefix="/_internal" />
915915
</routes>
916916
917917
.. code-block:: php
@@ -920,7 +920,7 @@ the ``_internal`` route:
920920
use Symfony\Component\Routing\RouteCollection;
921921
use Symfony\Component\Routing\Route;
922922
923-
$collection->addCollection($loader->import('FrameworkBundle/Resources/config/routing/internal.xml', '/_internal'));
923+
$collection->addCollection($loader->import('@FrameworkBundle/Resources/config/routing/internal.xml', '/_internal'));
924924
925925
return $collection;
926926
@@ -1025,4 +1025,4 @@ Varnish.
10251025
.. _`HTTP Bis`: http://tools.ietf.org/wg/httpbis/
10261026
.. _`P4 - Conditional Requests`: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-12
10271027
.. _`P6 - Caching: Browser and intermediary caches`: http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-12
1028-
.. _`ESI`: http://www.w3.org/TR/esi-lang
1028+
.. _`ESI`: http://www.w3.org/TR/esi-lang

0 commit comments

Comments
 (0)