diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-09-17 09:31:10 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-09-17 09:31:10 +0530 |
commit | 3c23cacb6fe8d1ed235ad5350bdc049183942833 (patch) | |
tree | 64699bf3fe36c1fba135997f481f48d8f8e47645 /guides/source | |
parent | f91ea5101725e87d28e6045795ae52d2394a2c60 (diff) | |
download | rails-3c23cacb6fe8d1ed235ad5350bdc049183942833.tar.gz rails-3c23cacb6fe8d1ed235ad5350bdc049183942833.tar.bz2 rails-3c23cacb6fe8d1ed235ad5350bdc049183942833.zip |
Fix Show link on resource
Diffstat (limited to 'guides/source')
-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 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 %> |