Skip to content

Commit 027bf9f

Browse files
committed
docs: explain in more detail
1 parent c69b763 commit 027bf9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ controllers. You can extend this class in any new controller.
144144

145145
Then save the file to your **app/Controllers/** directory.
146146

147-
.. important:: The file must be called **Helloworld.php**, with a capital ``H``. Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase.
147+
.. important:: The file must be called **Helloworld.php**, with a capital ``H``. When you use Auto Routing, Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase.
148148

149149
.. important:: A controller method that will be executed by Auto Routing (Improved) needs HTTP verb (``get``, ``post``, ``put``, etc.) prefix like ``getIndex()``, ``postCreate()``.
150150

@@ -315,7 +315,7 @@ For security reasons be sure to declare any new utility methods as ``protected``
315315

316316
Then save the file to your **app/Controllers/** directory.
317317

318-
.. important:: The file must be called **Helloworld.php**, with a capital ``H``. Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase.
318+
.. important:: The file must be called **Helloworld.php**, with a capital ``H``. When you use Auto Routing, Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase.
319319

320320
Now visit your site using a URL similar to this::
321321

0 commit comments

Comments
 (0)