Skip to content

Commit 8588820

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

page_creation.rst

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

9191
The Web Debug Toolbar: Debugging Dream
9292
--------------------------------------
@@ -134,7 +134,7 @@ variable so we can render that::
134134
$number = mt_rand(0, 100);
135135

136136
return $this->render('lucky/number.html.twig', array(
137-
'number' => $number
137+
'number' => $number,
138138
));
139139
}
140140
}
@@ -184,7 +184,7 @@ So what about the other directories in the project?
184184

185185
``var/``
186186
This is where automatically-created files are stored, like cache files
187-
(``var/cache/``) and logs (``var/logs/``).
187+
(``var/cache/``), logs (``var/logs/``) and sessions (``var/sessions/``).
188188

189189
``vendor/``
190190
Third-party (i.e. "vendor") libraries live here! These are downloaded via the `Composer`_

0 commit comments

Comments
 (0)