Skip to content

Commit 3da0ef9

Browse files
committed
docs: replace folder with directory
For consistency.
1 parent 507b418 commit 3da0ef9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ class so that it can inherit all its methods.
218218

219219
.. note::
220220
The system will attempt to match the URI against Controllers by matching each segment against
221-
folders/files in **app/Controllers**, when a match wasn't found against defined routes.
222-
That's why your folders/files MUST start with a capital letter and the rest MUST be lowercase.
221+
directories/files in **app/Controllers**, when a match wasn't found against defined routes.
222+
That's why your directories/files MUST start with a capital letter and the rest MUST be lowercase.
223223

224224
If you want another naming convention you need to manually define it using the
225225
:ref:`Defined Route Routing <defined-route-routing>`.
@@ -322,10 +322,10 @@ permits you to do this.
322322
Simply create sub-directories under the main **app/Controllers**,
323323
and place your controller classes within them.
324324

325-
.. important:: Folder names MUST start with an uppercase letter and ONLY the first character can be uppercase.
325+
.. important:: Directory names MUST start with an uppercase letter and ONLY the first character can be uppercase.
326326

327327
When using this feature the first segment of your URI must
328-
specify the folder. For example, let's say you have a controller located here::
328+
specify the directory. For example, let's say you have a controller located here::
329329

330330
app/Controllers/Products/Shoes.php
331331

@@ -411,8 +411,8 @@ class so that it can inherit all its methods.
411411

412412
.. note::
413413
The system will attempt to match the URI against Controllers by matching each segment against
414-
folders/files in **app/Controllers**, when a match wasn't found against defined routes.
415-
That's why your folders/files MUST start with a capital letter and the rest MUST be lowercase.
414+
directories/files in **app/Controllers**, when a match wasn't found against defined routes.
415+
That's why your directories/files MUST start with a capital letter and the rest MUST be lowercase.
416416

417417
If you want another naming convention you need to manually define it using the
418418
:ref:`Defined Route Routing <defined-route-routing>`.
@@ -492,10 +492,10 @@ permits you to do this.
492492
Simply create sub-directories under the main **app/Controllers**,
493493
and place your controller classes within them.
494494

495-
.. important:: Folder names MUST start with an uppercase letter and ONLY the first character can be uppercase.
495+
.. important:: Directory names MUST start with an uppercase letter and ONLY the first character can be uppercase.
496496

497497
When using this feature the first segment of your URI must
498-
specify the folder. For example, let's say you have a controller located here::
498+
specify the directory. For example, let's say you have a controller located here::
499499

500500
app/Controllers/Products/Shoes.php
501501

0 commit comments

Comments
 (0)