Skip to content

Commit 2b61e3b

Browse files
authored
suggest(Controller): suggestion about naming habits
1 parent 50911a3 commit 2b61e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ This controller is pretty straightforward:
5858
the ``use`` keyword imports the ``Response`` class, which the controller
5959
must return.
6060

61-
* *line 7*: The class can technically be called anything - but should end in the
62-
word ``Controller``
61+
* *line 7*: The class can technically be called anything,
62+
it is common to use `Controller` at the end.
6363

6464
* *line 12*: The action method is allowed to have a ``$max`` argument thanks to the
6565
``{max}`` :doc:`wildcard in the route </routing>`.

0 commit comments

Comments
 (0)