Permalink
Browse files

Fix incorrect post_path link generation.

  • Loading branch information...
1 parent 58533dc commit 404c1a32461f8eb57bd20c58fdfb846c94daaa92 @dteoh dteoh committed May 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 %>

0 comments on commit 404c1a3

Please sign in to comment.