File tree Expand file tree Collapse file tree
user_guide_src/source/installation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ What has been changed
1919
2020Upgrade Guide
2121=============
22- 1. You have to change the syntax of each routing line and append it in `` app/Config/Routes.php `` . For example:
22+ 1. You have to change the syntax of each routing line and append it in ** app/Config/Routes.php ** . For example:
2323
2424- ``$route['journals'] = 'blogs'; `` to ``$routes->add('journals', 'App\Blogs'); `` this would map to the ``index() `` method in the "Blogs" class.
2525- ``$route['product/(:any)'] = 'catalog/product_lookup'; `` to ``$routes->add('product/(:any)', 'Catalog::productLookup'); ``
@@ -30,7 +30,7 @@ Code Example
3030
3131CodeIgniter Version 3.11
3232------------------------
33- Path: `` application/config/routes.php `` ::
33+ Path: ** application/config/routes.php ** ::
3434
3535 <?php
3636 defined('BASEPATH') OR exit('No direct script access allowed');
@@ -47,7 +47,7 @@ Path: ``application/config/routes.php``::
4747
4848CodeIgniter Version 4.x
4949-----------------------
50- Path: `` app/Config/Routes.php `` ::
50+ Path: ** app/Config/Routes.php ** ::
5151
5252 <?php
5353
You can’t perform that action at this time.
0 commit comments