diff options
author | Claudio Galdiolo <claudio.galdiolo@gmail.com> | 2014-12-23 20:02:56 +0100 |
---|---|---|
committer | Claudio Galdiolo <claudio.galdiolo@gmail.com> | 2014-12-23 20:02:56 +0100 |
commit | ceeb76201c99b0ca650f4b7b4fb3b2489c2d7282 (patch) | |
tree | d8b16b4307869b9b2e71131cf3b481d9f9a7c5dd /user_guide_src/source/tutorial/news_section.rst | |
parent | c36d3a99727c78cc8ee25074704b50114743ca72 (diff) |
fix path for individual news item
href resolves to index.php/slug instead of index.php/news/slug
Diffstat (limited to 'user_guide_src/source/tutorial/news_section.rst')
-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 ad9ed41d3..3f4c9f03f 100644 --- a/user_guide_src/source/tutorial/news_section.rst +++ b/user_guide_src/source/tutorial/news_section.rst @@ -149,7 +149,7 @@ and add the next piece of code. <div class="main"> <?php echo $news_item['text'] ?> </div> - <p><a href="<?php echo $news_item['slug'] ?>">View article</a></p> + <p><a href="news/<?php echo $news_item['slug'] ?>">View article</a></p> <?php endforeach ?> |