From 48972be24650a61efa9acd1532b5f091e21b8e9c Mon Sep 17 00:00:00 2001 From: jediodev Date: Sun, 27 Nov 2022 12:10:34 +0100 Subject: In the tutorial, fix a bad sentence New text is: two methods to view news items: one for [...] and one for [...] Signed-off-by: jediodev --- user_guide_src/source/tutorial/news_section.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/tutorial/news_section.rst b/user_guide_src/source/tutorial/news_section.rst index 286d620dc..0953b8e72 100644 --- a/user_guide_src/source/tutorial/news_section.rst +++ b/user_guide_src/source/tutorial/news_section.rst @@ -116,7 +116,7 @@ so it can be used in all other methods in this controller. It also loads a collection of :doc:`URL Helper <../helpers/url_helper>` functions, because we'll use one of them in a view later. -Next, there are two methods to view all news items and one for a specific +Next, there are two methods to view news items: one for all news items and one for a specific news item. You can see that the ``$slug`` variable is passed to the model's method in the second method. The model is using this slug to identify the news item to be returned. -- cgit v1.2.3-24-g4f1b