Skip to content

Commit cd5fe07

Browse files
committed
Tweaks thanks to Javier
1 parent 1f4ba7b commit cd5fe07

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
@@ -10,10 +10,10 @@ Create your First Page in Symfony
1010
Creating a new page - whether it's an HTML page or a JSON endpoint - is a
1111
simple two-step process:
1212

13-
#. *Create a route*: A route is the URL (e.g. ``/about``) to your page and
13+
#. **Create a route**: A route is the URL (e.g. ``/about``) to your page and
1414
points to a controller;
1515

16-
#. *Create a controller*: A controller is the PHP function you write that
16+
#. **Create a controller**: A controller is the PHP function you write that
1717
builds the page. You take the incoming request information and use it to
1818
create a Symfony ``Response`` object, which can hold HTML content, a JSON
1919
string or even a binary file like an image or PDF.
@@ -78,7 +78,7 @@ to creating a page?
7878
defines the URL pattern for this page. You'll learn more about :doc:`routing </routing>`
7979
in its own section, including how to make *variable* URLs;
8080

81-
#. *Create a controller*: The method below the route - ``numberAction`` - is called
81+
#. *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 </controllers>`
8484
in their own section, including how to return JSON responses;

0 commit comments

Comments
 (0)