Skip to content

Commit 3548566

Browse files
committed
docs: move sentence
Without this change, the meaning of the sample code is not clear.
1 parent 9232e88 commit 3548566

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,12 @@ class so that it can inherit all its methods.
221221
folders/files in **app/Controllers/**, when a match wasn't found against defined routes.
222222
That's why your folders/files MUST start with a capital letter and the rest MUST be lowercase.
223223

224+
If you want another naming convention you need to manually define it using the
225+
:ref:`Defined Route Routing <defined-route-routing>`.
224226
Here is an example based on PSR-4 Autoloader:
225227

226228
.. literalinclude:: controllers/012.php
227229

228-
If you want another naming convention you need to manually define it using the
229-
:ref:`Defined Route Routing <defined-route-routing>`.
230-
231230
Methods
232231
=======
233232

@@ -390,13 +389,12 @@ class so that it can inherit all its methods.
390389
folders/files in **app/Controllers/**, when a match wasn't found against defined routes.
391390
That's why your folders/files MUST start with a capital letter and the rest MUST be lowercase.
392391

392+
If you want another naming convention you need to manually define it using the
393+
:ref:`Defined Route Routing <defined-route-routing>`.
393394
Here is an example based on PSR-4 Autoloader:
394395

395396
.. literalinclude:: controllers/012.php
396397

397-
If you want another naming convention you need to manually define it using the
398-
:ref:`Defined Route Routing <defined-route-routing>`.
399-
400398
Methods
401399
=======
402400

0 commit comments

Comments
 (0)