Skip to content

Commit bed9e5c

Browse files
committed
docs: fix indentation of the list and the explanation
1 parent 5966058 commit bed9e5c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/installation/upgrade_routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Upgrade Guide
2121
=============
2222
1. You have to change the syntax of each routing line and append it in **app/Config/Routes.php**. For example:
2323

24-
- ``$route['journals'] = 'blogs';`` to ``$routes->add('journals', 'App\Blogs');`` this would map to the ``index()`` method in the "Blogs" class.
25-
- ``$route['product/(:any)'] = 'catalog/product_lookup';`` to ``$routes->add('product/(:any)', 'Catalog::productLookup');``
26-
- ``$route['login/(.+)'] = 'auth/login/$1';`` to ``$routes->add('login/(.+)', 'Auth::login/$1');``
24+
- ``$route['journals'] = 'blogs';`` to ``$routes->add('journals', 'Blogs::index');``. This would map to the ``index()`` method in the ``Blogs`` controller.
25+
- ``$route['product/(:any)'] = 'catalog/product_lookup';`` to ``$routes->add('product/(:any)', 'Catalog::productLookup');``
26+
- ``$route['login/(.+)'] = 'auth/login/$1';`` to ``$routes->add('login/(.+)', 'Auth::login/$1');``
2727

2828
Code Example
2929
============

0 commit comments

Comments
 (0)