@@ -427,7 +427,7 @@ by adding an entry for ``/contact`` to your routing configuration file:
427427# app/config/routing.yml
428428contact :
429429path :/contact
430- defaults :{ _controller:AcmeDemoBundle :Main:contact }
430+ defaults :{ _controller:AppBundle :Main:contact }
431431
432432 ..code-block ::xml
433433
@@ -439,7 +439,7 @@ by adding an entry for ``/contact`` to your routing configuration file:
439439 http://symfony.com/schema/routing/routing-1.0.xsd" >
440440
441441 <route id =" contact" path =" /contact" >
442- <default key =" _controller" >AcmeDemoBundle :Main:contact</default >
442+ <default key =" _controller" >AppBundle :Main:contact</default >
443443 </route >
444444 </routes >
445445
@@ -451,24 +451,18 @@ by adding an entry for ``/contact`` to your routing configuration file:
451451
452452 $collection = new RouteCollection();
453453 $collection->add('contact', new Route('/contact', array(
454- '_controller' => 'AcmeDemoBundle :Main:contact',
454+ '_controller' => 'AppBundle :Main:contact',
455455 )));
456456
457457 return $collection;
458458
459- ..note ::
460-
461- This example uses:doc: `YAML </components/yaml/yaml_format >` to define the routing
462- configuration. Routing configuration can also be written in other formats
463- such as XML or PHP.
464-
465459 When someone visits the ``/contact `` page, this route is matched, and the
466460specified controller is executed. As you'll learn in the:doc: `routing chapter </book/routing >`,
467461the ``AcmeDemoBundle:Main:contact `` string is a short syntax that points to a
468462specific PHP method ``contactAction `` inside a class called ``MainController ``::
469463
470- // src/Acme/DemoBundle /Controller/MainController.php
471- namespaceAcme\DemoBundle \Controller;
464+ // src/AppBundle /Controller/MainController.php
465+ namespaceAppBundle \Controller;
472466
473467 use Symfony\Component\HttpFoundation\Response;
474468