Commit 79bee22
committed
bug symfony#10177 Page Creation Small Changes (ahinkle, weaverryan)
This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes symfony#10177).
Discussion
----------
Page Creation Small Changes
This PR includes changes to the page creation page for the user to easily understand the breakdown and removes unnecessary areas.
- Move the Controller tip to the example controller area instead of the annotation route. The hint currently drops unexpectedly to the end user after a routes discussion.
- The `profiler-pack` is already included with the Symfony package. Removed composer installation area. Additionally, users may be confused why there is more than one route when it declares "You should see one route" -- added a note on debugging routes.
- Twig is automatically included with Symfony. No need to direct the user to require and install it with composer.
- Shorter, more elegant array syntax on the `render()` example.
Commits
-------
14ca439 minor fixes
cecebdc Shorter array syntax for declaring numbers variable
9d33d42 Twig is included with Symfony. No need to have the user run composer
2bc5bed The `profiler-pack` is included in the composer package. It can be a bit confusing to the user with the extra stuff showing on the screen.
56b64c0 Move the controller tip out of the annotation routes.1 file changed
+19
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| |||
126 | 134 | | |
127 | 135 | | |
128 | 136 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 195 | + | |
| 196 | + | |
198 | 197 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
209 | 201 | | |
210 | 202 | | |
211 | 203 | | |
| |||
214 | 206 | | |
215 | 207 | | |
216 | 208 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 209 | + | |
224 | 210 | | |
225 | 211 | | |
226 | 212 | | |
| |||
251 | 237 | | |
252 | 238 | | |
253 | 239 | | |
254 | | - | |
| 240 | + | |
255 | 241 | | |
256 | | - | |
| 242 | + | |
257 | 243 | | |
258 | 244 | | |
259 | 245 | | |
| |||
0 commit comments