diff options
| author | Douglas Teoh <douglas@dteoh.com> | 2013-05-04 17:42:05 +1000 |
|---|---|---|
| committer | Douglas Teoh <douglas@dteoh.com> | 2013-05-04 17:42:05 +1000 |
| commit | 404c1a32461f8eb57bd20c58fdfb846c94daaa92 (patch) | |
| tree | 8ce0937b062cfbf3634f65bd58a6c245edf7b6b6 | |
| parent | 58533dc9bd8736c28b5ad8286e57b02f45939621 (diff) | |
| download | rails-404c1a32461f8eb57bd20c58fdfb846c94daaa92.tar.gz rails-404c1a32461f8eb57bd20c58fdfb846c94daaa92.tar.bz2 rails-404c1a32461f8eb57bd20c58fdfb846c94daaa92.zip | |
Fix incorrect post_path link generation.
| -rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 957e8ee4c4..068f704bc9 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -934,7 +934,7 @@ appear next to the "Show" link: <tr> <td><%= post.title %></td> <td><%= post.text %></td> - <td><%= link_to 'Show', post_path %></td> + <td><%= link_to 'Show', post_path(post) %></td> <td><%= link_to 'Edit', edit_post_path(post) %></td> </tr> <% end %> |
