Skip to content

Commit 156f7e7

Browse files
committed
remove useless annotation routing config changes
1 parent dfa2ab3 commit 156f7e7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

page_creation.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ routes. First, install the annotations package:
9999
100100
$ composer require annotations
101101
102-
Then, in ``config/routes.yaml``, remove the route you just created and uncomment
103-
the annotation route import at the bottom:
104-
105-
.. code-block:: yaml
106-
107-
controllers:
108-
resource: ../src/Controller/
109-
type: annotation
110-
111102
After this one-time setup, you can now add your route directly *above* the controller:
112103

113104
.. code-block:: diff

0 commit comments

Comments
 (0)