Skip to content

docs: Small typo in controllers.rst #8777

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
Apr 13, 2024
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
4 changes: 2 additions & 2 deletions user_guide_src/source/incoming/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Controllers are the heart of your application, as they determine how HTTP reques
What is a Controller?
*********************

A Controller is simply a class file that handles a HTTP request.
A Controller is simply a class file that handles an HTTP request.
:doc:`URI Routing <routing>` associates a URI with a controller. It returns a
view string or ``Response`` object.

Expand Down Expand Up @@ -477,7 +477,7 @@ without route definitions. The auto-routing is disabled by default.
Auto Routing (Legacy). It is easy to create vulnerable apps where controller filters
or CSRF protection are bypassed.

.. important:: Auto Routing (Legacy) routes a HTTP request with **any** HTTP method to a controller method.
.. important:: Auto Routing (Legacy) routes an HTTP request with **any** HTTP method to a controller method.

.. important:: Since v4.5.0, if Auto Routing (Legacy) doesn't find the controller,
it will throw ``PageNotFoundException`` exception before the Controller Filters
Expand Down