From 187b077fcfe2b550912aeb472f08ecb596d9970d Mon Sep 17 00:00:00 2001 From: vashona Date: Sun, 13 Nov 2016 11:35:14 -0500 Subject: [PATCH] Update make-homepage.rst Updated example for AppBundle\Controller\DefaultController::makeHomepageAction(), annotation "@Method" import --- tutorial/make-homepage.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorial/make-homepage.rst b/tutorial/make-homepage.rst index 00245987..d2dc651f 100644 --- a/tutorial/make-homepage.rst +++ b/tutorial/make-homepage.rst @@ -319,6 +319,7 @@ making a given page the homepage. Add the following to the existing // src/AppBundle/Controller/DefaultController.php use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; + use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; // ... class DefaultController extends Controller