diff --git a/quick_tour/the_big_picture.rst b/quick_tour/the_big_picture.rst index 2d043645425..5ca1f6bda78 100644 --- a/quick_tour/the_big_picture.rst +++ b/quick_tour/the_big_picture.rst @@ -148,12 +148,10 @@ So, Symfony routes the request by reading the routing configuration file: use Symfony\Component\Routing\Route; $collection = new RouteCollection(); - $collection->addRoute('homepage', new Route('/', array( '_controller' => 'FrameworkBundle:Default:index', ))); - - $collection->import('HelloBundle/Resources/config/routing.php'); + $collection->addCollection($loader->import("HelloBundle/Resources/config/routing.php")); return $collection; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy