Skip to content

Commit

Permalink
Update news_section.rst
Browse files Browse the repository at this point in the history
ci3 path left in needs to change to 'app/Config/Routes.php'
  • Loading branch information
greenchili authored Mar 13, 2020
1 parent 58810c0 commit ec1a7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/tutorial/news_section.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
:align: center

0 comments on commit ec1a7a1

Please sign in to comment.