Skip to content

[Page Creation] Correct spelling & grammar in page-creation.rst #16234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ That's it! If you are using Symfony web server, try it out by going to: http://l

If you see a lucky number being printed back to you, congratulations! But before
you run off to play the lottery, check out how this works. Remember the two steps
to creating a page?
to create a page?

#. *Create a controller and a method*: This is a function where *you* build the page and ultimately
return a ``Response`` object. You'll learn more about :doc:`controllers </controller>`
in their own section, including how to return JSON responses;

#. *Create a route*: In ``config/routes.yaml``, the route defines the URL to your
page (``path``) and what ``controller`` to call. You'll learn more about :doc:`routing </routing>`
in its own section, including how to make *variable* URLs.
Expand Down Expand Up @@ -140,7 +140,7 @@ Second, after this package was downloaded, Flex runs a *recipe*, which is a
set of automated instructions that tell Symfony how to integrate an external
package. `Flex recipes`_ exist for many packages and have the ability
to do a lot, like adding configuration files, creating directories, updating ``.gitignore``
and adding new config to your ``.env`` file. Flex *automates* the installation of
and adding a new config to your ``.env`` file. Flex *automates* the installation of
packages so you can get back to coding.

The bin/console Command
Expand Down