aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSagar Junnarkar <sagarjunnu@gmail.com>2013-11-27 11:11:51 +0530
committerSagar Junnarkar <sagarjunnu@gmail.com>2013-11-27 11:23:09 +0530
commite7f533e346d6af8dc156ab1a5d05aa501afdea44 (patch)
tree9877ccaaeec67004d9508f789837f97d40cb8b14
parent5fdbec7dd15a8e6edef861899accb8b3b69cc87a (diff)
downloadrails-e7f533e346d6af8dc156ab1a5d05aa501afdea44.tar.gz
rails-e7f533e346d6af8dc156ab1a5d05aa501afdea44.tar.bz2
rails-e7f533e346d6af8dc156ab1a5d05aa501afdea44.zip
Link for "New Post" is added in Getting Started guide [ci skip]
- Earlier(line number 862) it is said to add <%= link_to 'New post', new_post_path %> on posts index page before table tag. But when posts index page html is shown, "New Post" link is missing. So aaded "New Post" link in this commit
-rw-r--r--guides/source/getting_started.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 2f322d15da..b57441b1c3 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1268,6 +1268,7 @@ together.
```html+erb
<h1>Listing Posts</h1>
+<%= link_to 'New post', new_post_path %>
<table>
<tr>
<th>Title</th>