aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-09-17 09:31:10 +0530
committerVipul A M <vipulnsward@gmail.com>2013-09-17 09:31:10 +0530
commit3c23cacb6fe8d1ed235ad5350bdc049183942833 (patch)
tree64699bf3fe36c1fba135997f481f48d8f8e47645 /guides
parentf91ea5101725e87d28e6045795ae52d2394a2c60 (diff)
downloadrails-3c23cacb6fe8d1ed235ad5350bdc049183942833.tar.gz
rails-3c23cacb6fe8d1ed235ad5350bdc049183942833.tar.bz2
rails-3c23cacb6fe8d1ed235ad5350bdc049183942833.zip
Fix Show link on resource
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index e5bc5ef038..3e2fd2a845 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1132,7 +1132,7 @@ appear next to the "Show" link:
<tr>
<td><%= post.title %></td>
<td><%= post.text %></td>
- <td><%= link_to 'Show', post %></td>
+ <td><%= link_to 'Show', post_path(post) %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
</tr>
<% end %>