From ec1a7a1c9bc165c22e565e0f5234e2c4ed2bb9a4 Mon Sep 17 00:00:00 2001 From: greenchili Date: Fri, 13 Mar 2020 16:31:28 +0000 Subject: [PATCH] Update news_section.rst ci3 path left in needs to change to 'app/Config/Routes.php' --- user_guide_src/source/tutorial/news_section.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/tutorial/news_section.rst b/user_guide_src/source/tutorial/news_section.rst index fd70ac3f3320..e2975681cd31 100644 --- a/user_guide_src/source/tutorial/news_section.rst +++ b/user_guide_src/source/tutorial/news_section.rst @@ -262,7 +262,7 @@ Routing Because of the wildcard routing rule created earlier, you need an extra route to view the controller that you just made. Modify your routing file -(**app/config/routes.php**) so it looks as follows. +(**app/Config/Routes.php**) so it looks as follows. This makes sure the requests reach the ``News`` controller instead of going directly to the ``Pages`` controller. The first line routes URI's with a slug to the ``view()`` method in the ``News`` controller. @@ -278,4 +278,4 @@ you should see a list of the news items, each of which has a link to display just the one article. .. image:: ../images/tutorial2.png - :align: center \ No newline at end of file + :align: center