mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix another incorrect post_path link generation.
This commit is contained in:
parent
714bb17aea
commit
757e985c6f
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ together.
|
|||
<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>
|
||||
<td><%= link_to 'Destroy', post_path(post),
|
||||
method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
|
|
Loading…
Reference in a new issue