summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-12-25 01:06:12 +0100
committerAndrey Andreev <narf@devilix.net>2014-12-25 01:06:12 +0100
commitb0357338d3c566f11397010f803189f42d901522 (patch)
tree907c255ef01e1e18ae88c70273da3bd2bffe9e11 /user_guide_src/source
parent317f1f770a33ca09f33d5af1c4073cf30fc431bd (diff)
parent347916f6d3de62ecf8ed40fe841b3fe579f858e3 (diff)
Merge pull request #3442 from galdiolo/patch-4
[ci skip] fix path for individual news item
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/tutorial/create_news_items.rst2
-rw-r--r--user_guide_src/source/tutorial/news_section.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/tutorial/create_news_items.rst b/user_guide_src/source/tutorial/create_news_items.rst
index ad355b33d..1f4a96dd3 100644
--- a/user_guide_src/source/tutorial/create_news_items.rst
+++ b/user_guide_src/source/tutorial/create_news_items.rst
@@ -18,7 +18,7 @@ application/views/news/create.php.
::
- <h2>Create a news item</h2>
+ <h2><?php echo $title ?></h2>
<?php echo validation_errors(); ?>
diff --git a/user_guide_src/source/tutorial/news_section.rst b/user_guide_src/source/tutorial/news_section.rst
index f436b2510..80938de32 100644
--- a/user_guide_src/source/tutorial/news_section.rst
+++ b/user_guide_src/source/tutorial/news_section.rst
@@ -151,7 +151,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 ?>