From 757e985c6f488707264aa37fe0bcfdaa7a8a06ca Mon Sep 17 00:00:00 2001 From: Douglas Teoh Date: Sat, 4 May 2013 17:51:37 +1000 Subject: Fix another incorrect post_path link generation. --- guides/source/getting_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index da17d59d3c..43bcbc9f42 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1075,7 +1075,7 @@ together. <%= post.title %> <%= post.text %> - <%= link_to 'Show', post_path %> + <%= link_to 'Show', post_path(post) %> <%= link_to 'Edit', edit_post_path(post) %> <%= link_to 'Destroy', post_path(post), method: :delete, data: { confirm: 'Are you sure?' } %> -- cgit v1.2.3