Skip to content

Commit 85e08c8

Browse files
committed
docs: fix file paths
1 parent ef287b7 commit 85e08c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ error message. This is used with the ``showError()`` method where a field must b
571571
Configuration
572572
=============
573573

574-
Once you have your views created, you need to let the Validation library know about them. Open ``Config/Validation.php``.
574+
Once you have your views created, you need to let the Validation library know about them. Open **app/Config/Validation.php**.
575575
Inside, you'll find the ``$templates`` property where you can list as many custom views as you want, and provide an
576576
short alias they can be referenced by. If we were to add our example file from above, it would look something like:
577577

@@ -602,7 +602,7 @@ autoloader can find it. These files are called RuleSets.
602602
Adding a RuleSet
603603
----------------
604604

605-
To add a new RuleSet, edit **Config/Validation.php** and
605+
To add a new RuleSet, edit **app/Config/Validation.php** and
606606
add the new file to the ``$ruleSets`` array:
607607

608608
.. literalinclude:: validation/033.php
@@ -618,7 +618,7 @@ a boolean true or false value signifying true if it passed the test or false if
618618

619619
.. literalinclude:: validation/034.php
620620

621-
By default, the system will look within ``CodeIgniter\Language\en\Validation.php`` for the language strings used
621+
By default, the system will look within **system/Language/en/Validation.php** for the language strings used
622622
within errors. In custom rules, you may provide error messages by accepting a ``&$error`` variable by reference in the
623623
second parameter:
624624

0 commit comments

Comments
 (0)