Skip to content

Commit 24f773c

Browse files
committed
[#4779] Minor tweaks to a huge PR
1 parent 8e93786 commit 24f773c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: book/http_cache.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ exposing a simple and efficient pattern::
734734
$comments = ...;
735735

736736
// or render a template with the $response you've already started
737-
return $this->render('Article/show.html.twig', array(
737+
return $this->render('article/show.html.twig', array(
738738
'article' => $article,
739739
'comments' => $comments
740740
), $response);

Diff for: book/testing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ giving you a nice API for uploading files.
356356
:ref:`Crawler <book-testing-crawler>` section below.
357357

358358
The ``request`` method can also be used to simulate form submissions directly
359-
or perform more complex requests. Some usefull examples::
359+
or perform more complex requests. Some useful examples::
360360

361361
// Directly submit a form (but using the Crawler is easier!)
362362
$client->request('POST', '/submit', array('name' => 'Fabien'));

Diff for: book/validation.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ will appear.
166166
You could also pass the collection of errors into a template::
167167

168168
if (count($errors) > 0) {
169-
return $this->render('Author/validation.html.twig', array(
169+
return $this->render('author/validation.html.twig', array(
170170
'errors' => $errors,
171171
));
172172
}
@@ -177,7 +177,7 @@ Inside the template, you can output the list of errors exactly as needed:
177177

178178
.. code-block:: html+jinja
179179

180-
{# app/Resources/views/Author/validation.html.twig #}
180+
{# app/Resources/views/author/validation.html.twig #}
181181
<h3>The author has the following errors</h3>
182182
<ul>
183183
{% for error in errors %}
@@ -187,7 +187,7 @@ Inside the template, you can output the list of errors exactly as needed:
187187

188188
.. code-block:: html+php
189189

190-
<!-- app/Resources/views/Author/validation.html.php -->
190+
<!-- app/Resources/views/author/validation.html.php -->
191191
<h3>The author has the following errors</h3>
192192
<ul>
193193
<?php foreach ($errors as $error): ?>
@@ -235,7 +235,7 @@ workflow looks like the following from inside a controller::
235235
return $this->redirect($this->generateUrl(...));
236236
}
237237

238-
return $this->render('Author/form.html.twig', array(
238+
return $this->render('author/form.html.twig', array(
239239
'form' => $form->createView(),
240240
));
241241
}

0 commit comments

Comments
 (0)