forked fromsymfony/symfony-docs
- Notifications
You must be signed in to change notification settings - Fork0
Commitbadaae7
committed
bugsymfony#3622 [Components][Routing] Fix addPrefix() sample code (bicpi)
This PR was merged into the 2.3 branch.Discussion----------[Components][Routing] Fix addPrefix() sample code| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets | -The sample code used for demonstrating the[`Symfony\Component\Routing\RouteCollection::addPrefix()`](http://api.symfony.com/2.3/Symfony/Component/Routing/RouteCollection.html#method_addPrefix) method did not match the signature. I've updated the code to show the provided features when adding a nested route collection. + some minor fixes along the way.Commits-------e095c13 [Components][Routing] Fix addPrefix() sample code2 files changed
+16
-16
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
704 | 704 |
| |
705 | 705 |
| |
706 | 706 |
| |
707 |
| - | |
| 707 | + | |
708 | 708 |
| |
709 | 709 |
| |
710 | 710 |
| |
|
Lines changed: 14 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
147 | 148 |
| |
148 | 149 |
| |
149 | 150 |
| |
150 | 151 |
| |
151 | 152 |
| |
152 | 153 |
| |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
160 | 161 |
| |
161 | 162 |
| |
162 | 163 |
| |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 | 164 |
| |
167 | 165 |
| |
168 | 166 |
| |
| |||
177 | 175 |
| |
178 | 176 |
| |
179 | 177 |
| |
180 |
| - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
|
0 commit comments
Comments
(0)