Skip to content

Commit c259725

Browse files
committed
minor #7005 Use new array syntax and make a few minor tweaks (bocharsky-bw)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7005). Discussion ---------- Use new array syntax and make a few minor tweaks Commits ------- 27c99cc Use new array syntax and make a few minor tweaks
2 parents fe5b129 + 27c99cc commit c259725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page_creation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ to creating a page?
8181
#. *Create a controller*: The method below the route - ``numberAction()`` - is called
8282
the *controller*: this is a function where *you* build the page and ultimately
8383
return a ``Response`` object. You'll learn more about :doc:`controllers </controller>`
84-
in their own section, including how to return JSON responses;
84+
in their own section, including how to return JSON responses.
8585

8686
The Web Debug Toolbar: Debugging Dream
8787
--------------------------------------
@@ -129,7 +129,7 @@ variable so we can render that::
129129
$number = mt_rand(0, 100);
130130

131131
return $this->render('lucky/number.html.twig', array(
132-
'number' => $number
132+
'number' => $number,
133133
));
134134
}
135135
}

0 commit comments

Comments
 (0)