Skip to content

Commit

Permalink
[#5098] Minor fix so controller in dumped apache matches _controller …
Browse files Browse the repository at this point in the history
…route information above
  • Loading branch information
weaverryan committed Apr 15, 2015
1 parent c778178 commit 808383b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/configuration/apache_router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Which should roughly output the following:
# hello
RewriteCond %{REQUEST_URI} ^/hello/([^/]+?)$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Default\:hello]
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Greet\:hello]
You can now rewrite ``web/.htaccess`` to use the new rules, so with this example
it should look like this:
Expand All @@ -119,7 +119,7 @@ it should look like this:
# hello
RewriteCond %{REQUEST_URI} ^/hello/([^/]+?)$
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Default\:hello]
RewriteRule .* app.php [QSA,L,E=_ROUTING__route:hello,E=_ROUTING_name:%1,E=_ROUTING__controller:AppBundle\:Greet\:hello]
</IfModule>
.. note::
Expand Down

0 comments on commit 808383b

Please sign in to comment.