File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ an example:
360
360
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
361
361
xsi : schemaLocation =" http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd" >
362
362
363
- <route id =" acme_privacy " pattern =" /about.html" >
363
+ <route id =" about " pattern =" /about.html" >
364
364
<default key =" _controller" >FrameworkBundle:Template:template</default >
365
365
<default key =" template" >AcmeBundle:Static:about.html.twig</default >
366
366
</route >
@@ -372,7 +372,7 @@ an example:
372
372
use Symfony\Component\Routing\Route;
373
373
374
374
$collection = new RouteCollection();
375
- $collection->add('acme_privacy ', new Route('/about.html', array(
375
+ $collection->add('about ', new Route('/about.html', array(
376
376
'_controller' => 'FrameworkBundle:Template:template',
377
377
'template' => 'AcmeBundle:Static:about.html.twig',
378
378
)));
You can’t perform that action at this time.
0 commit comments