mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: fix config filename routes.php
This commit is contained in:
parent
a7f8163553
commit
9758f907c4
@ -383,7 +383,7 @@ Miscellaneous Functions
|
||||
:returns: a route path (URI path relative to baseURL)
|
||||
:rtype: string
|
||||
|
||||
.. note:: This function requires the controller/method to have a route defined in **app/Config/routes.php**.
|
||||
.. note:: This function requires the controller/method to have a route defined in **app/Config/Routes.php**.
|
||||
|
||||
.. important:: ``route_to()`` returns a *route* path, not a full URI path for your site.
|
||||
If your **baseURL** contains sub folders, the return value is not the same
|
||||
|
@ -382,7 +382,7 @@ The following functions are available:
|
||||
:returns: Absolute URL
|
||||
:rtype: string
|
||||
|
||||
.. note:: This function requires the controller/method to have a route defined in **app/Config/routes.php**.
|
||||
.. note:: This function requires the controller/method to have a route defined in **app/Config/Routes.php**.
|
||||
|
||||
Builds an absolute URL to a controller method in your app. Example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user