diff options
author | Kevin Smith <kevin@gohearsay.com> | 2013-02-20 21:20:54 +0100 |
---|---|---|
committer | Kevin Smith <kevin@gohearsay.com> | 2013-02-20 21:20:54 +0100 |
commit | 4796cebc4a2c2028134bd59257ddce4f1387c8ff (patch) | |
tree | f4f42e9452f5e188014103af591a941b64669d18 /user_guide_src/source | |
parent | 95da6e75c41bcef079215972efa4a0734be7e8c4 (diff) |
Update user_guide_src/source/tutorial/news_section.rst
Clarified a part of the tutorial so it's obvious the code should be replaced/update rather than added.
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/tutorial/news_section.rst | 4 |
1 files 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 833e34ead..d7754e9f3 100644 --- a/user_guide_src/source/tutorial/news_section.rst +++ b/user_guide_src/source/tutorial/news_section.rst @@ -162,7 +162,7 @@ The news overview page is now done, but a page to display individual news items is still absent. The model created earlier is made in such way that it can easily be used for this functionality. You only need to add some code to the controller and create a new view. Go back to the -news controller and add the following lines to the file. +news controller and update ``view()`` with the following: :: @@ -211,4 +211,4 @@ a slug to the view method in the news controller. $route['default_controller'] = 'pages/view'; Point your browser to your document root, followed by index.php/news and -watch your news page.
\ No newline at end of file +watch your news page. |