Skip to content

Commit 808383b

Browse files
committed
[#5098] Minor fix so controller in dumped apache matches _controller route information above
1 parent c778178 commit 808383b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/configuration/apache_router.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Which should roughly output the following:
103103
104104
# hello
105105
RewriteCond %{REQUEST_URI} ^/hello/([^/]+?)$
106-
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Default\:hello]
106+
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Greet\:hello]
107107
108108
You can now rewrite ``web/.htaccess`` to use the new rules, so with this example
109109
it should look like this:
@@ -119,7 +119,7 @@ it should look like this:
119119
120120
# hello
121121
RewriteCond %{REQUEST_URI} ^/hello/([^/]+?)$
122-
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Default\:hello]
122+
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Greet\:hello]
123123
</IfModule>
124124
125125
.. note::

0 commit comments

Comments
 (0)