diff --git a/page_creation.rst b/page_creation.rst index 4670b2b8f6d..b2e219c3b1c 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -116,12 +116,12 @@ After this one-time setup, you can now add your route directly *above* the contr // ... + use Symfony\Component\Routing\Annotation\Route; - - + /** - + * @Route("/lucky/number") - + */ + class LuckyController { + + /** + + * @Route("/lucky/number") + + */ public function number() { // this looks exactly the same