Skip to content

Commit 27c99cc

Browse files
bocharsky-bwxabbuh
authored andcommitted
Use new array syntax and make a few minor tweaks
1 parent fe5b129 commit 27c99cc

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)