From 404c1a32461f8eb57bd20c58fdfb846c94daaa92 Mon Sep 17 00:00:00 2001 From: Douglas Teoh Date: Sat, 4 May 2013 17:42:05 +1000 Subject: Fix incorrect post_path link generation. --- guides/source/getting_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: <%= post.title %> <%= post.text %> - <%= link_to 'Show', post_path %> + <%= link_to 'Show', post_path(post) %> <%= link_to 'Edit', edit_post_path(post) %> <% end %> -- cgit v1.2.3