Skip to content
Browse files

Fix another incorrect post_path link generation.

  • Loading branch information...
1 parent 714bb17 commit 757e985c6f488707264aa37fe0bcfdaa7a8a06ca @dteoh dteoh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
2 guides/source/
@@ -1075,7 +1075,7 @@ together.
<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>
<td><%= link_to 'Destroy', post_path(post),
method: :delete, data: { confirm: 'Are you sure?' } %></td>

0 comments on commit 757e985

Please sign in to comment.
Something went wrong with that request. Please try again.