From 6584ca5154371c95b74f33c551a482d355ace069 Mon Sep 17 00:00:00 2001 From: Simon Vanherweghe Date: Thu, 25 Sep 2014 22:50:57 +0200 Subject: [PATCH 1/2] Use Route annotations Without the use statement, this din't worked Also I had to set the routing.yml from the bundle to:: AcmeBasicCmsBundle: resource: "@AcmeBasicCmsBundle/Controller" type: annotation --- tutorial/make-homepage.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorial/make-homepage.rst b/tutorial/make-homepage.rst index ee8b33d0..763ab6de 100644 --- a/tutorial/make-homepage.rst +++ b/tutorial/make-homepage.rst @@ -329,6 +329,7 @@ the page action:: // src/Acme/BasicCmsBundle/Controller/DefaultController.php // ... + use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; class DefaultController extends Controller { // ... From 98593b40c4ceadd3e20ee28cec79a9bf4666bcfe Mon Sep 17 00:00:00 2001 From: Simon Vanherweghe Date: Fri, 26 Sep 2014 09:27:43 +0200 Subject: [PATCH 2/2] added blank line --- tutorial/make-homepage.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorial/make-homepage.rst b/tutorial/make-homepage.rst index 763ab6de..f0a896db 100644 --- a/tutorial/make-homepage.rst +++ b/tutorial/make-homepage.rst @@ -330,6 +330,7 @@ the page action:: // ... use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; + class DefaultController extends Controller { // ...