diff options
author | jediodev <jediodev@gmail.com> | 2022-11-27 12:10:34 +0100 |
---|---|---|
committer | jediodev <jediodev@gmail.com> | 2022-11-27 12:12:49 +0100 |
commit | 48972be24650a61efa9acd1532b5f091e21b8e9c (patch) | |
tree | 1af5ab4aee30220e12fbcd2a43c9ab1ba9f2d40e /user_guide_src/source/tutorial | |
parent | ca889b00ef4d561b181e1df383b91c1f28e3501f (diff) |
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 <jediodev@gmail.com>
Diffstat (limited to 'user_guide_src/source/tutorial')
-rw-r--r-- | user_guide_src/source/tutorial/news_section.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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. |